Hacker News new | ask | show | jobs
by rev_bird 3670 days ago
This is such a bummer to me. I was a late-comer to CoffeeScript (just joined a project at a company that's been using it for years), and I absolutely love it. I was really skeptical ("JavaScript works just fine! Why change the syntax for no reason?"), but it's so slick.
1 comments

Same here. Personally I prefer ES6 for a few reasons:

- Future compatible, more interoperable

- ES6 classes can extend each other in a standards compliant way

- CS arrow functions feel verbose compared to ES6

- Constants

- More tooling support

- More features

- Upcoming features, like ES7 async/await have polyfills that you can use today (as opposed to CS - https://github.com/jashkenas/coffeescript/pull/3813)

Though I do miss a couple of things:

- The last expression in a block is implicitly returned (nice sugar for functional programming)

- Ranges ([1..10])