Re:Replace CoffeeScript with ES6
by msutherl on Friday January 30, 2015 @12:36AM
(#8970595)
Is there a preprocessor/transpiler that lets you write vanilla ES6 but just without brackets, semi-colons, etc. like CoffeeScript?
[ Parent
| on HN ]
Semicolons are already optional in JS. Automatic semi colon insertion (ASI) has a clear set of rules that are pretty easy to remember.
Re:Replace CoffeeScript with ES6
by SomeCallMeTim on Friday January 30, 2015 @01:13AM
(#8970685)
But ASI is controversial, because of the bugs that can be caused by it. (See "JavaScript, the Good Parts"). I make our devs (myself include) use semicolons with jshint, because I believe it's too easy to screw up.
Re:Replace CoffeeScript with ES6
by Already__Taken on Friday January 30, 2015 @04:27AM
(#8971190)
After reading the linked [Isaacs](http://blog.izs.me/post/2353458699/an-open-letter-to-javascr...) post it made me realise a bit more about the language. I don't think I'd agree its easy to screw up. Its as easy as accidentally using global variables.