Re:CoffeeScript 2.0 Beta Released
by kevinmannix on Sunday April 16, 2017 @08:10PM
(#14128378)
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.
Re:CoffeeScript 2.0 Beta Released
by 40_pending on Sunday April 16, 2017 @10:33PM
(#14128876)
from 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".
Truth 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.
Yep I agree. Coffee script's terse nature makes it great to write readable tests.
Re:CoffeeScript 2.0 Beta Released
by 40_pending on Sunday April 16, 2017 @10:37PM
(#14128888)
Yes, 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.
Re:CoffeeScript 2.0 Beta Released
by abritinthebay on Monday April 17, 2017 @03:23AM
(#14129661)
Ruby programmers, mostly. Same as it ever was.
AFAICT, the only reason it's a point release are the breaking changes. Unfortunately, in order to stay relevant, coffeescript needs a major overhaul, though I must add that its biggest problem (the readability of tab denoted closures) is probably one that needs to be ultimately solved by the IDEs.