News for hackers. Stuff that matters.
Re:Converting a large React Codebase from Coffeescript to ES6 by kenOfYugen on Thursday February 23, 2017 @05:29PM (#13718466)
> The javascript language has advanced considerably. Not only has it adopted many of the syntax sugar features such as classes and fat arrow function, it has gone beyond coffeescript with features such as async/await and object spread properties.

Just like CoffeeScript's good parts got into JavaScript, JavaScript's new features are being merged into CoffeeScript. 'async/await' becomes just an elegant 'await' in CS and pure generators are just functions that yield, without special annotations (i.e function*()).

CoffeeScript is nearing its 2.0 release [1]. So the language is not "dead", and there is still room for "innovation" repeating the cycle anew.

1. https://github.com/coffeescript6/discuss/issues/71

Re:Converting a large React Codebase from Coffeescript to ES6 by jessaustin on Thursday February 23, 2017 @05:50PM (#13718621)
Since python has had generators that "are just functions that yield, without special annotations" like, forever, I was surprised when vanilla JS decided generators need more punctuation.
Re:Converting a large React Codebase from Coffeescript to ES6 by kenOfYugen on Thursday February 23, 2017 @05:58PM (#13718694)
They had to, since changes cannot break backwards compatibility with the legacy web.
Re:Converting a large React Codebase from Coffeescript to ES6 by jessaustin on Thursday February 23, 2017 @08:36PM (#13720026)
That seems plausible, but what would "yield" have meant before?
Re:Converting a large React Codebase from Coffeescript to ES6 by WorldMaker on Friday February 24, 2017 @11:07AM (#13724857)
It might have been a function or variable name. In finance and farming domains it's a somewhat likely function/variable name.
Re:Converting a large React Codebase from Coffeescript to ES6 by skilesare on Thursday February 23, 2017 @06:00PM (#13718715)
You just made my heart happy. I've been hoping for an updated and backwards compatible coffeescript update for a while. Glad to see it is coming along.
Re:Converting a large React Codebase from Coffeescript to ES6 by sjogress on Friday February 24, 2017 @12:37AM (#13721307)
Coffeescript 2 has some breaking changes, most notably classes since it is moving to ES6 classes instead of its own implementation.

I'm with you though, I much prefer Coffeescript syntax over Javascript so I'm really happy to see it coming along.