3 ms·
I think the audiences are not as different than you think (I use both). CoffeeScript is for anyone wanting to write in a more expressive language. ClojureScrip
by swannodette 15y ago
I think the audiences are not as different than you think (I use both). CoffeeScript is for anyone wanting to write in a more expressive language.
ClojureScript offers that and even more without requiring people to fork ClojureScript. For example I got my pattern matching library working for ClojureScript - http://dosync.posterous.com/advanced-pattern-matching-for-javascript http://dosync.posterous.com/advanced-pattern-matching-for-ja.... match looks deceivingly simple, it's a fairly involved extensible optimizing pattern match compiler implemented as a macro.
EDIT: a fun example of how expressive pattern matching can be - here's a pattern for checking red black tree balance and the incredible output - https://gist.github.com/1177437 https://gist.github.com/1177437