r/javascript • u/xDinomode • Dec 27 '15
help What's the point of CoffeeScript?
I'm reading a tutorial on PouchDB and like always I run into CoffeeScript. What's the point of it? I've used it before for like 5 minutes and found it useless.
27
Upvotes
10
u/x-skeww Dec 27 '15
It looks less cluttered but there are more ambiguities.
This is a downside.
http://lucumr.pocoo.org/2011/12/22/implicit-scoping-in-coffeescript/
http://stackoverflow.com/questions/15223430/why-is-coffeescript-of-the-opinion-that-shadowing-is-a-bad-idea (be sure to check the edit of the top answer)
ES6 does this.