News for hackers. Stuff that matters.
Re:Replace CoffeeScript with ES6 by sgslo on Thursday January 29, 2015 @09:42PM (#8970198)
Yes and no. Although we get some fantastic features, one of the most critical- the ability to neglect parens and curly braces- is lost in es6. I'm working on an es6 project right now and still prefer coffeescript.
Re:Replace CoffeeScript with ES6 by stephen_g on Thursday January 29, 2015 @09:52PM (#8970232)
That's interesting - personally I've always really disliked that about Coffeescript. It may just be because of how familair I am with C-family languages, but I always liked the default Javascript style far better.

So from my perspective ES6 is the best of both worlds - the better syntax of Javascript and the features that Coffeescript gave you.

Re:Replace CoffeeScript with ES6 by recursive on Thursday January 29, 2015 @09:47PM (#8970207)
For functions of single arguments, you parameter list parens are optional.

But it's not an objective fact that coffeescript's syntax is better. I prefer ES6. And even if you prefer coffeescript, it seems strange to claim that the most critical feature is purely aesthetic.

Re:Replace CoffeeScript with ES6 by briandear on Friday January 30, 2015 @03:32AM (#8971060)
Assuming it's all ultimately JS, the aesthetic side is a big deal. It results in an easier time understanding and being able to debug the code, which is a huge, perhaps underestimated win.
Re:Replace CoffeeScript with ES6 by pekk on Thursday January 29, 2015 @09:53PM (#8970235)
It sounds like it would be relatively easy to write a preprocessor to do only this
Re:Replace CoffeeScript with ES6 by smrtinsert on Thursday January 29, 2015 @10:21PM (#8970307)
Agreed that it's way nicer.