On Tue, Aug 30, 2011 at 6:06 PM, Mike S <[email protected]> wrote:

> Two question:
> 1. Can I use clojurescript with dojo?
>

You'll have to try it and see.


> 2. what are the advantages of clojurescript compared to just writing
> the code in javascript? I can see why clojure would be useful for java/
> jvm (dynamic/interactive development rather than compilation cycle, it
> does away with much java boilerplate code, simplified
> concurrency... ). Javascript already has dynamic/interactive that's
> only complicated by an additional compilation from clojurescript, It's
> code, when using a modern library, is almost boilerplate-free, it has
> quircks but those are well documented and easily avoided. What does
> clojurescript bring to the table?


I've been doing JavaScript programming for a long time. JavaScript while it
has a neat little core, has a long list of problems.

ClojureScript brings better, clearer, cleaner semantics to the table.
ClojureScript also bring macros - which allow you to extend the language to
the problem at hand. I've needed this ability in pretty much every major
JavaScript project I've ever worked on.

David

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

Reply via email to