3 ms·
Definitely. We are a mostly-Clojure shop, but we do quite a bit of complex Javascript as well. Coffeescript makes it fun and productive. Best of all, there are
by jwr 16y ago
Definitely. We are a mostly-Clojure shop, but we do quite a bit of complex Javascript as well. Coffeescript makes it fun and productive.
Best of all, there are fewer lines of code to make mistakes in. And fewer stupid "forgot a semicolon" problems.
I'd suggest that people also look at Underscore.js (http://documentcloud.github.com/underscore/ http://documentcloud.github.com/underscore/) and Backbone.js (http://documentcloud.github.com/backbone/ http://documentcloud.github.com/backbone/). Same authorship, same quality code, great ideas, great execution.
- neimado 16y agoI've never once run into a 'forgot a semicolon' problem in 15 years of programming javacsript. semicolons are optional, and if you are fretting over a misplaced semicolon, you are doing it wrong. What really is a pain is if you forget an indentation in coffeescript, or your whitespace isn't "just so", you'll get compiler errors.