News for hackers. Stuff that matters.
Re:Replace CoffeeScript with ES6 by endemic on Friday January 30, 2015 @12:00AM (#8970528)
I looked at 6to5 and started re-writing a few files of CoffeeScript in ES6. First impression was not great. I'd forgotten how many curly braces are required in JS. ES6's fat arrow is just not as nice as CoffeeScript's (required parentheses, no option for thin arrow). I'll no doubt try it out again soon, but I'm not a convert yet.
Re:Replace CoffeeScript with ES6 by nawitus on Friday January 30, 2015 @10:00AM (#8972287)
ES6 fat arrow syntax doesn't require parentheses if there is only one function parameter. If there are more, parentheses make the code more readable in my opinion.