On Tue, Dec 30, 2014 at 10:46 PM, Thomas Heller <[email protected]> wrote:
> What is tooling and what is CLJS? At which point does it make sense to 
> address an issue in CLJS rather than a library. Given that probably no one 
> will use the Node.JS REPL the way you described in your blog post other than 
> for experiments. It will probably be mostly used via tools (eg. 
> lein-cljsbuild, lein-figwheel, etc ...)

basic REPLs are not tooling.

As to why a Node.js REPL?

* Rhino is >100X slower than modern JS engines
* Many REPL interactions do not benefit from a browser

As far as users not running the Node.js REPL in the way that has been
described - to this day I still run raw Clojure REPLs sans Lein for a
good many reasons - I suspect the same will continue to be true for
the builtin ClojureScript REPLs.

> Does the Node REPL even need to be in CLJS itself? Clojure has a variety of 
> "contrib" (eg. core.async, core.typed, data.json, ...), shouldn't we maybe 
> split into contrib?

I'm having trouble seeing any tangible benefits here.

> Take CLJS-851 [1] as a simple example. The fact that most people still are 
> required to manually require goog/base.js + app.js MANUALLY in the HTML in 
> development but not in production is completely ridiculous to me. A seemingly 
> simple change of adding :main suddenly has very big implications overall as 
> it ties into [2] since given a :main you can always compile in dependency 
> order.

CLJS-851 doesn't address the broader problem - i.e. foreign JS
dependencies. Fixing the problem only for CLJS namespaces isn't
actually dealing with the deeper issue.

> I do believe refactoring is necessary.

I don't see the value of this line of thought when cljs.build.api is a
legimate path forward for build tools.

David

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to