4 ms·
CoffeeScript is only syntactic sugar. It brings very little new to the table, but perhaps worse of all, it doesn't really fix all of JavaScript's WTF-issues whi
by exDM69 13y ago
CoffeeScript is only syntactic sugar. It brings very little new to the table, but perhaps worse of all, it doesn't really fix all of JavaScript's WTF-issues while adding a few of its own. While it's an improvement over JavaScript, its advantages are sometimes outweighed by the extra hassle to compile and deploy it.
I don't really dislike it but I really do not see myself using it if I had a task where I needed JavaScript.
- slaxman 13y agoSuprisingly, I have never even thought about compiling on Coffeescript since my rails app does that for me. Personally, I love using Coffeescript because it's just so much easier to write compared to javascript without thinking about braces and semi-colons. On the whole, I guess what framework you use affects how you use a language. In rails projects, it's very efficient to use coffeescript over javascript.
- virtualwhys 13y agoThe problem is that sometimes what you write in CS results in surprising and/or incorrect JS. This can be caused by an unnoticed block of whitespace, corner case of CS language itself, or me simply screwing something up. About 5-10% of the time I hit a WTF in CS, which is, for now, an acceptable trade off vs. using pure boilerplate ridden JS. If there was a concise TypeScript a la Scala for Java, I'd be all over it.