Hacker News new | ask | show | jobs
by abritinthebay 3892 days ago
> Coffeescript has, for several years now, encompassed nearly the entire API surface of ES2015.

Agreed. I didn't say features; I said looked. It looks horrible in comparison.

ES6/7 code is much cleaner, clearer, and more idiomatic, than CoffeeScript. (in my experience, and I've used/debugged/worked with a LOT of both)

Not going to crap all over the features of CoffeeScript, those were good (though they produced pretty awful looking JS code as a result). I would say however it wasn't worth the trade off in debugging pain.

1 comments

> ES6/7 code is much cleaner, clearer, and more idiomatic

I'm assuming you're talking about the compiled javascript from coffeescript and not coffeescript itself? I find coffeescript code much, much nicer to read, write, and deciper.. but that's just me!

Well I could refer to both, but no I wasn't specifically (though it does apply).

I'm curious: were you a Ruby dev before using CoffeeScript, or at least had a reasonable amount of experience with it?

That said I find Ruby to be dense and annoying to read sometimes (due to its sometimes Perl Golf obsession with brevity in language constructs), so it could be just Ruby idioms annoy me ;)

I haven't used ruby but ive been writing python for many years and so the indentation-based syntax definitely something I enjoy. But that said I didn't even use coffeescript until I was forced to while working at a huge media company where the big project I worked on had the large client written in coffeescript... once I got used to working with it I think I enjoyed the clean code and productivity gains..

I guess your milage may vary though depending on what you're doing etc.