Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Root825994yI’ve never had close dev friends.
It’s sad.
(Not counting a couple devs I’ve dated or those who tried to date me. They always wanted the achievement of dating me more than to actually date me.) -
@Root sad... I think you should try making friends while fighting the hellish Rails code that you are trying to fix.
Speaking of that code, what the fuck is happening with it right now? Share with the class. -
Root825994y@OmerFlame It really isn’t that hellish. It’s just absolutely gigantic and stale. And contains patterns and features dating back three framework versions. Legacy only begins to describe it.
-
@Root oh fuck. Why was this code left to rot and was so unmaintained? That doesn’t sound AT ALL responsible...
-
Root825994y@OmerFlame Because the project is gigantic. Areas that still work don’t often get attention unless they need it, and when they do, most of it gets updated.
But often some of the legacy patterns and styles remain. Working on this project feels a little like walking through a museum.
It isn’t very worrying, though. There’s a similarly gigantic test suite that takes three days to run on a laptop; 50 minutes in parallel on a large ec2 instance. There’s also a “QA automation test” suite that runs end to end feature tests via browser automation.
However, it does mean that running specs against my branches takes a lot of time, even if it’s only the specs added since the last release branch. Project init also takes about 20 seconds. Meaning spinning up a server, running one spec, polling the routes, looking at a daemon list, etc. all take a minimum of 20 seconds. Really kills me when iterating.
Don’t get me wrong, some areas really are a bloody nightmare of spaghetti. The project is in checkbox hell, and worse: hidden settings via “resources”: little bits of data (bool, int, array, json, ...) manually typed in by the product team or site managers, and stored in the DB. These can differ between merchants, merchant groups, etc., and considerably change the product’s behavior.
Also, the names of these are often obscure or sometimes outright wrong and misleading. Sometimes my coworkers play a satirical game of “name that flag” — whoever gets one wrong first gets disqualified, and the winner gets to probably feel bad about themselves. -
@Root sounds horrifying and ridiculously cool at the same time.
3 DAYS ON A LAPTOP?!?!?! It almost sounds like scientists back in the C64 age, damn. -
@Root Intel MacBooks overheat a lot (except the 16-inch iirc) so I think it makes sense (not sure though)
Related Rants
-
AlmondSauce7Mark. Mark was a support guy who could have been replaced by a robot. Nearly every support request that came ...
-
Godisalie3Most memorable coworker? Definitely one of our devs in the first company I worked at. He was around fifty, qui...
-
devdiddydog15A guy that just did not know how to code. He had years and years of experience (?), but DID NOT KNOW HOW TO CO...
Not a co-worker but a personal friend, I am still developing with the dude. He is absolutely AMAZING when it comes to reverse engineering he knows much more than me in this area of computer science. Actually one of my first friends who actually geeks out over this shit.
rant
wk223