Re:ClojureScript
by kennystone on Wednesday July 20, 2011 @08:00PM
(#2787953)
It's interesting how closely tied to Google Closure this is. I wonder if that will present issues in the future. Regardless, ClojureScript has definitely made really smart use of it.
[ Parent
| on HN ]
You can use other javascript libraries in addition to Closure (i.e. jquery). https://gist.github.com/1096382
"It's interesting how closely tied to Google Closure this is. I wonder if that will present issues in the future."
It will definitely present issues to verbal communication.
"Yes, you see, Clojure uses Closure as part of it's implementation blah blah..."
"Wait, Clojure uses Clojure?"
"No, with-a-J-Clojure uses with-an-S-Closure..."
Re:ClojureScript
by ThisIBereave on Wednesday July 20, 2011 @10:22PM
(#2788272)
I presume Closure is only being used as a post-processing step to optimize the javascript that's produced.
False. We're not just talking about Closure. We're talking about Google Closure. They support millions of users with their apps and maintain cross-browser compatibility. Google is doing that huge block of work for ClojureScript in addition to whole-program optimization.
Re:ClojureScript
by ThisIBereave on Thursday July 21, 2011 @01:26PM
(#2790370)
Google Closure is what I'm talking about too. However, it's important to know _which_ Google Closure, as there are a number of components. It seems that the component most used in ClojureScript is the JavaScript optimizer, which is most likely just run as a post-processing step.
Of course, ClojureScript could also be using the Closure Library within the code, which would integrate Closure deeper into the system.