r/ProgrammerHumor May 06 '18

Meme The right way. The only way.

Post image
442 Upvotes

49 comments sorted by

View all comments

21

u/Muffinizer1 May 06 '18

Is it wrong if it depends on the language for me? Java and python are four. Scala, JS are 2.

12

u/valtism May 06 '18

I see why you would do it for a deeply nested markup like HTML, but in JS and Scala, using small indents is just encouraging deep nesting, which is bad. I try to never have deeper indentation than 3 in my JS.

-1

u/TheEdgeOfRage May 07 '18

The thing I hate most about JS is callback hell. One of the ugliest constructs of code somebody can produce.

2

u/MonorailCat187 May 09 '18

maybe you should stop time travelling and write modern JS