3 ms·
Clojure has had things like Parenscript for a while, including scriptjure (~1.75 years old) and clojurejs.
by scottjad 15y ago
Clojure has had things like Parenscript for a while, including scriptjure (~1.75 years old) and clojurejs.
- felideon 15y agoWhat's new/exciting/different about ClojureScript? No one has really made it clear here. Edit: Trimmed unnecessary banter as it's a genuine question.
- fogus 15y agoWhat would you expect to be different? Your post says the important point: it's Clojure. For some an additonal point is that it's not JavaScript. There is nothing deeper than that.
- felideon 15y agoIf that's the most important point I fail to understand why it's #1 Hacker News, sorry. This makes HN no better than a "hype engine" as some say. If someone would at least mention that Google Closure makes it pretty neat, then I would have let it go, so to say. Even worse, two other relevant Clojure libs are mentioned and the important point is still "it's Clojure"?
- brehaut 15y agoThe other libraries are clojure libs that implement javascript analogies[1] as clojure macros and functions and generate javascript. ClojureScript is a Clojure The Language compiler that implements Clojure (its datastructures, standard lib, protocols, deftypes etc etc) and is hosted[2] on javascript rather than the JVM. In ClojureScript you are not writing reskinned javascript, you are writing Clojure. [1] simplified for the argument [2] By outputting javascript
- felideon 15y agoAha! Great, this is definitely pretty awesome. I don't think anyone's written something like that in Common Lisp yet.