I am not getting the idea of ClojureScript. For example, I am writing a web application, and I need to write some javascript. Should I use ClojureScript which will generate the javascript for me? Looking for some guidanc开发者_如何学编程e.
thanks
use it if
- you want to write desktop applications in clojure
- you want to write your entire webapp in clojure, front and back end
- you want to write for a JS based mobile platform like palm etc.
- you are die hard clojure fan... ;)
- you have some algorithm implemented in clojure that you'd like to leverage on a JS platform. (from stand)
I think ClojureScript shines if your application is a JavaScript-based Rich Internet Application. Think of GMail or Google Maps.
On a side note, ClojureScript competes with CoffeeScript.
精彩评论