Unnecessary parentheses in function calls. · Issue #1407 · jashkenas/coffeescript (original) (raw)
Currently foo bar .baz()
compiles to foo(bar.baz());
This seems unlogical, since the same result can be gained with cleaner code by writing foo bar.baz()
.
So should't it rather compile to foo(bar).baz();
? This would allow us to write code with even less parenthesis in many situations (something i'v really learned to love with CoffeeScript).