News for hackers. Stuff that matters.
Re:ECMAScript 2015 Approved by Strilanc on Wednesday June 17, 2015 @02:25PM (#9734162)
Nit: single line lambdas can be written like `a => a + 1` instead of `a => { return a + 1 }`. Cuts the amount of bracket nesting.
Re:ECMAScript 2015 Approved by gravity13 on Wednesday June 17, 2015 @03:09PM (#9734491)
After working with es6 for a bit (with babel), I still think I prefer CoffeeScript mostly because it's annoying to ensure brackets/parenthesis are closed properly.
Re:ECMAScript 2015 Approved by cnp on Wednesday June 17, 2015 @04:12PM (#9734920)
Its funny, I used to really enjoy CoffeeScript but since Babel / ES6 has come out I can't stand it anymore! ES6 has just the right amount of syntax, with lots of optionals too (semicolons, no brackets when writing function expressions, etc).
Re:ECMAScript 2015 Approved by notNow on Wednesday June 17, 2015 @05:20PM (#9735397)
I compile JS files to CoffeeScript now only for the readability boost when I need to understand the code very quickly without all those parentheses or brackets getting in my way.