On Thu, Jul 28, 2011 at 12:09 PM, Daniel Gagnon <redalas...@gmail.com>wrote:

> Javascript is simply painful to use functionally. The verbosity of
>> anonymous functions, the lack of crucial HOFs like map/filter/reduce, the
>> lack of functional data structures, the lack of macros (not strictly a
>> "functional" feature, but especially useful with functional code)... You can
>> fix these to varying degrees with libraries; but in any case the overall
>> superiority of Clojure syntax and data structures must be obvious to anyone
>> interested in ClojureScript, since those are the sole advantages it provides
>> over Javascript.
>>
>>
> The verbosity of anonymous function (and much more) is fixed by
> CoffeeScript and Coco[1] and the lack of crucial HOFs is fixed by
> underscore.js
>

I like CoffeeScript. But CoffeeScript is largely syntactic sugar. Hardly
anything in the way of new semantics. And it encourages traditional stateful
OOP and classical inheritance.

Underscore.js does what it can, but it's goals are largely trumped by
CoffeeScript.

David

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to