Imho, you get everything google closure is good at (great compiler, huge library, dependency management/resolution, stability/support) without having to follow OO style closure encourages, with the joy of working with clojure, it's abstractions/semantics/ecosystem, and the ability to share code between client/server such as templates related code.
I don't think I would ever have used (for more than toying) goog closure without clojurescript, and i must say I am more impressed everyday by how extensive it is (it allowed me to throw away tons of code, i have yet to find something i am really missing from jquery/js plugins I normally use). I am porting a fairly large application based on jquery/backbone at the moment, and it s been a pleasure so far, even tho you have to work around some rough edges sometimes, but it s a first alpha so it s expected. Sure it could benefit from some optimizations here and there, but i don't think that s the focus at the moment, it s been said that now is time to "make it right", optimizations will follow. On Aug 31, 12:06 am, Mike S <[email protected]> wrote: > Two question: > 1. Can I use clojurescript with dojo? > > 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? -- 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
