4 ms·
I can't tell you how many times my IDE has "helpfully" tried to autoindent my CoffeeScript for various reasons. In CoffeeScript, if your indentation gets thrown
by ryanthejuggler 12y ago
I can't tell you how many times my IDE has "helpfully" tried to autoindent my CoffeeScript for various reasons. In CoffeeScript, if your indentation gets thrown off, your code is going to do something completely different. That's why I'm very appreciative of languages with brackets.
I know in CoffeeScript I could use parentheses to surround indented parts (because everything is an expression), but it just looks wrong when I do it. I wish CS treated parentheses and curly braces as interchangeable in most cases, which they pretty much are.