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
-
Lil bit this, lil bit that... all the comparisons seems in same level. Why so many indentations? Am I missing something?
-
Brolls31156yAh, the curse of shit-poor equality checking that afflicts Java and C# alike.
At least they aligned it nicely.
Still, I would have just written a generic recursive equality check function. -
gruff5526ySurely there is a better identity in that clustefuck. What did he just do, wank all of the keyboard and call it a day? Dipshits!
-
gruff5526yEvery function in his program was just two, or three, or four lines long. Each was transparently obvious. Each told a story. And each led you to the next in a compelling order. That’s how short your functions should be! ~ Kent Beck
-
Just return true; probably does the same thing and is a bit simpler
But seriously, jfc -
Thanks for making me feel sick. No really, this looks horrible. In terms of code quality this is an absolute no go.
Related Rants
It’s code like this that gives me severe migraines 🤯
rant
migraines
bad code