Or just curse me for keeping the dream of CoffeeScript alive :P
Or just curse me for keeping the dream of CoffeeScript alive :P
Whenever I saw coffeescript I just felt like the developers fancied a change for change sake and doesn't have real problems to solve.
It's clever though to create a new syntax, I'll give you that
- Rest in any position
- Dedented block strings
- Default to const in for loops
- Lack of -> function shortand
- Everything is an expression
- Implicit returns
- Chained comparisons
- Nested unbraced object literals
- Optional trailing commas in arrays
- Optional trailing commas in objects
- x.map .name function shorthand
Each one is a fairly minor concern but they all add up. I'm sure different people will have a different list of favorite features as well. One of my goals in creating Civet was to fix my top 100 issues with TS syntax while being 99% backward compatible. The ultimate goal being: TS with my top 100 issues fixed will be the best language I have ever used.