Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use ClojureScript practically? [closed]

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 guidance.

thanks

like image 583
ruskin Avatar asked Jul 21 '11 17:07

ruskin


2 Answers

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)
like image 174
Arthur Ulfeldt Avatar answered Sep 20 '22 03:09

Arthur Ulfeldt


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.

like image 35
Chiron Avatar answered Sep 20 '22 03:09

Chiron