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
-
Yeahhh... I'm just in that process too at the minute. It's not terrible, but it's definitely not good.
Usually method length is a fucking red flag... "Oh your method is 1100 lines of spaghetti? That's fine, pay me" -
@filthyranter that's a good thing, fname and lname aren't great variable names... They can just be scrapped 😄
-
hell169537yI made a variable that is an acronym for "mother fucker" while I was in a rant state and it actually worked ... Been in prod for 2 years now...
Every time I see someone editing that piece of code I laught and cry inside because you can see the level of code we have around here... -
I like to name my variables $fn and $ln. Saves space. My code is way less lines.
-
@jamescodesthing exactly, method length and clone coverage (amount of copy-D code) say a lot about the quality of a system IMHO
That moment you realize the code you inherited at the new job may be a fucking mess....
undefined