r/node • u/Sixes666 • May 17 '16
Is CoffeeScript still relevant or is it a has-bean? My thoughts on my favourite language for programming NodeJS.
https://medium.com/@cliff666/is-coffeescript-still-relevant-or-is-it-a-has-bean-f26c6cd9b472#.rtn17msd2
3
Upvotes
13
u/plankmeister May 17 '16
+1 for "has-bean"
1
u/berlihm May 17 '16
I've been writing CoffeeScript for a few years now and while my company hasn't changed to ES6 I've started using it in my own projects. If I could make the call now I'd be all in with ES6 and I imagine that's the way a lot of companies using CoffeeScript will go in the future.
2
u/taushif May 17 '16
I think most people now just use normal js with es6 or es7 features with babel or some other tool.
2
u/leriksen May 18 '16
I use it and love it, mainly for the massive simplification of syntax, and the cleaner code structure. ES6 has some of CS's features, but not enough for me to drop CS anytime soon.
3
u/DefiantBidet May 17 '16
CS is dead.
I've seen two camps, those that use it and love it, and everyone else who hates it. Adding another layer of complexity isn't really liked in professional settings. Compile to JS languages don't really have legs in anything other than startups, imho.
You don't need transpilers for es6 with the latest version of node (ok import/export don't exist but commonJS still does). you would still need to transpile es6 code in the browser, however. I mention these points as they're the only thing holding back the usage of es6 full time.
1 last point. if i'm looking for some package on npm and its written in CS, i'm not using it. I know i'm not the only one who feels this way. so if you're going to publish something to npm, perhaps CS isn't the way to do it.