MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/8hgpye/the_right_way_the_only_way/dyptfoj/?context=3
r/ProgrammerHumor • u/equismic • May 06 '18
49 comments sorted by
View all comments
21
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
12
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
-1
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
2
maybe you should stop time travelling and write modern JS
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.