2 ms·
i agree that significant-whitespace is a bad idea. It's bad in things like yaml, coffeescript or haml where mis-indentation can dramatically change semantics.
by jacknews 6y ago
i agree that significant-whitespace is a bad idea.
It's bad in things like yaml, coffeescript or haml where mis-indentation can dramatically change semantics. Of course brackets or other delimiters are also susceptible, but they're much easier to spot, especially for syntax highlighters, linters, etc.
And whitespace can actually be part of how you communicate your thinking to other developers.