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
-
Npstr6577yYe much better to pull this out into a bunch of interfaces, factories, services, abstract classes, and all the implementations of the above, pepper in some util methods or classes noone is ever going to reuse, and properly bloat this fucker up beyond any recognition for no reason.
-
StrucN1937y200+ lines method = disgusting
Literal string = eye cancer
5+ returns = acceptable when functioning as guard clauses or as an early bailout in method that don't need to continue (only when it's readable) -
@Npstr do you find it difficult understanding a well designed API? Everything you named is very useful if used correctly. Those aren't just things you create for the sake of having them.
Related Rants
-
hell15Oh.. So the deadline is tomorrow? How about we schedule a fucking FOUR HOUR meeting to speed things up? Yeah,...
-
rchristian18Dear assholes of the internet. Next time you publish an article/tutorial/story etc, PUT THE FUCKING PUBLICATIO...
-
alybadawy18You go to an accountant to file your itemized taxes in a couple of hours, you pay them at least $200. You go t...
If you're a developer that enjoys 200+ line methods with 5+ return points, and literal strings all over the place, please punch yourself, hard.
devrant
assholes