r/javascript • • 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.

28 Upvotes

33 comments sorted by

View all comments

Show parent comment

1

u/spinlock Dec 28 '15

It's funny, that thread brings up a huge advantage cs has over js: you don't have to worry about breaking the web when working on the language.

My implementation (if I ever get around to it) is going to be a straight rip-off of the cs one. I don't care if the syntax will conflict with early version of js because I'll only ever publish the compiled code. The ECMA has a lot more to worry about than I do so their implementation can't make all of the simplifying assumptions that I will.

1

u/minjooky Dec 29 '15

Just wait until .NET is expected to run on Linux and Mac. Project I'm working on at work is trying to ship x-plat .NET and there is all kinds of fun there at the bleeding edge.