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
-
@AlgoRythm Yeah man. I know exactly what that feels like ! Awesome. Enjoy !
-
Two bearly readable, hard to maintain, lines of code? ;)
xD
PS:
Is there a single unit-test for these two lines? -
I'd much rather keep it modular than have it all compact. I'd say 50 > 5 functions
-
@Proximyst Meh, c++ style points more towards this route. It is honestly much cleaner now all together.
-
Noob64667ySome languages allow you to do that.
The readability isn't hindered as long as the maintainer is skilled.
Arrow functions, ternaty operator, c-style shortcuts and etc.
Just refactored 22 files into 2 files. God, that feels nice.
rant