@catsalad Is there even a standard that specifies how many spaces a tab should be?
Top-level
13 comments
@housepanther @catsalad The whole point is that the reader gets to choose. @housepanther @catsalad Yes, I was on the losing side of that war. Still not convinced it was the wrong one. @rupert @housepanther @catsalad Because it wasn't. I was on team "don't care" for quite a long time, but since I stumbled upon this reddit post it is clear to me that tabs are a lot better: https://www.reddit.com/r/javascript/comments/c8drjo/nobody_talks_about_the_real_reason_to_use_tabs/ @weebull @rupert @housepanther @catsalad Aligning stuff is a horrible idea IMO anyway, since it forces you to change multiple lines as soon as one longer name term is introduced. Get rid of that and you'll have a better code base no matter if you are using tabs or spaces. @danrot @rupert @housepanther @catsalad I agree for separate statements, but you don't align to parenthesis in multiline statements? @housepanther @catsalad in my experience it’s usually either three or five spaces and I can never predict which. But usually one of those. |
@housepanther @catsalad
There are several standards.
#xkcd927