4 ms·
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
by kennystone 15y ago
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.
- ThisIBereave 15y agoI presume Closure is only being used as a post-processing step to optimize the javascript that's produced.
- devin 15y agoFalse. 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.
- ThisIBereave 15y agoGoogle 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.
- thorstadt 15y agoYou can use other javascript libraries in addition to Closure (i.e. jquery). https://gist.github.com/1096382 https://gist.github.com/1096382
- jimbokun 15y ago"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..."