top | item 13718466

(no title)

kenOfYugen | 9 years ago

> 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

discuss

order

jessaustin|9 years ago

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.

kenOfYugen|9 years ago

They had to, since changes cannot break backwards compatibility with the legacy web.

skilesare|9 years ago

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.

sjogress|9 years ago

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.