6 ms·
Does anyone still use CoffeeScript? I guess legacy projects, but new projects can use es6 + Babel or Typescript and get most (if not all?) of CoffeeScript's fun
by kevinmannix 9y ago
Does anyone still use CoffeeScript? I guess legacy projects, but new projects can use es6 + Babel or Typescript and get most (if not all?) of CoffeeScript's functionality.
- 40_pending 9y agofrom the link: CoffeeScript’s intent, however, was never to be a superset of JavaScript. One of the guiding principles of CoffeeScript has been simplicity: not just removing JavaScript’s “bad parts,” but providing a cleaner, terser syntax that uses less punctuation and enforces indentation, to make code easier to read and reason about. Increased clarity leads to increased quality, and fewer bugs. This benefit of CoffeeScript remains, even in an ES2015+ world. so, it's not really about "CoffeeScript's functionality" but more it's "style".
- zMiller 9y agoYep I agree. Coffee script's terse nature makes it great to write readable tests.
- moomin 9y agoTruth is, though, if you're going to pay the transpilation tax (and it's lower than many still seem to think), there's just better options: TypeScript, Flow, ClojureScript, PureScript. A nicer syntax was never that interesting.
- 40_pending 9y agoYes, I still use it when I'm in Rails. Even in new rails apps it's easier to use coffeescript than babel. The newer sprockets beta still isn't reliable enough.
- abritinthebay 9y agoRuby programmers, mostly. Same as it ever was.