Re:Replace CoffeeScript with ES6
by tomp on Friday January 30, 2015 @04:40AM
(#8971225)
It's not just significant indentation. CS parses "f + g" differently from "f +g" (the former is an addition, the latter is a function call with "+g" as the first argument).
[ Parent
| on HN ]
Re:Replace CoffeeScript with ES6
by tiglionabbit on Friday January 30, 2015 @05:42PM
(#8974972)
Yeah, the unary operators can cause gotchas.
Also, here's a gotcha I've run into where `a(b)` is considered different from `a (b)`
x a(b), c # => x(a(b), c);
x a (b), c # => x(a(b, c));