4 ms·
Because if other parts of your stack don't depend on Java, you have the overhead of having to install a complete java environment (on dev machines, CI, ...) jus
by jkrems 12y ago
Because if other parts of your stack don't depend on Java, you have the overhead of having to install a complete java environment (on dev machines, CI, ...) just for compiling your front-end code. It also makes "language independent" tooling for javascript harder. Then again: I guess most people who use clojurescript are already using clojure so it wouldn't be a problem for them.
- michaelsbradley 12y agoGetting the JVM installed requires very little effort. On ubuntu linux, for example, apt-get can be used to install openjdk or Oracle's distribution. Travis CI provides java (with a choice of JDKs) in its testing environments. So, I understand your point, but the installation "overhead" seems more like a mole hill, hardly amounting to even a speed-bump sized obstacle.
- jkrems 12y agoI recently had write up for a README how to install the JDK and set it up correctly on OSX. You'd be surprised. Thanks to Oracle's policies it isn't even close to where other runtimes/sdks are (e.g. installing ruby, node, gcc, go, ocaml).
- michaelsbradley 12y agoWith homebrew and homebrew-cask installed on Mac OS 10.9, I was simply able to do: brew cask install java That might not cover the bases for every Java developer's needs, but leiningen seems to work fine with the resulting installation.
- jkrems 12y agoI'll have to look into versions (gotta be java7) but that looks pretty great - thanks!