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
-
Is this jacascript? yes it is. is it insane? yes it is. should the dev be shot? yes he should.
-
oh my callback hell, my eyes are burning. could've been done with a state machine or promises.
-
We review at lot of external code at work. The current nesting record is... 42. (not kidding)
-
Oh, this reminds me when I made an excel document into a function, it was some advanced calculations and formulas. And a lot of if-else statements in Excel. Problem is that it's like this; if ("statement") {} else {if ("statement") {} else {....}
Had to write a horrid long if-else statement. So happy when I saw the logic in it and got it down to ~10 LOC -
Oh, please no. No more. Stop. Someone hold me.
And it's even worse because it's on a white background with black text.
Now I'm tempted to fix this, but I'm also tempted to go into a corner hug myself and cry.
This guy should really take a programing class or get himself a mentor or something. It's clearly going bad over there since he managed to lure himself into that company.
BTW, tell us when your hiring won't ya? -
valenc3x4758yIt also gives me the creeps to realize that file is over 4k lines. So much refactoring to do.
-
When you nest more than 3 indentation admit that you are screwed. - Linus Torvalds.
-
umnikos9658yAt the circus:
And now, ladies and gentlemen, this man will debug it!!!
*crowd goes wild*
Nesting hell
undefined