Re:Replace CoffeeScript with ES6
by quadratini on Thursday January 29, 2015 @11:33PM
(#8970474)
Coffeescript is pretty damn ugly. For god sakes can people please use parenthesis when calling functions with arguments?
[ Parent
| on HN ]
Re:Replace CoffeeScript with ES6
by Guillaume86 on Friday January 30, 2015 @04:11AM
(#8971153)
I do it in my coffeescript for function calls. You just need some guidelines and some discipline.
Why add unnecessary clutter?
It is not unnecessary, it helps the reader building a mental model about what is a function and what is not.
I would concede It can be useful to create some DSL or to access an object lazily but the is a price to pay: a more opaque code base
Re:Replace CoffeeScript with ES6
by Gurkenmaster on Friday January 30, 2015 @04:18AM
(#8971173)
Lisp programmers would love to disagree
Parenthesis are not unnecessary in Lisp they're an essential delimiter in defining an s-expression's structure (does not need to be parenthesis but some token is required).
But for me that one bit of syntax is a lot less that the multitude required for many languages.
For something even more syntactically minimal there is Forth.