3 ms·
I'm not sure how they can make it easier than what it currently is, no need for any unofficial channels. If you follow the guide at https://clojure.org/guides/g
by capableweb 5y ago
I'm not sure how they can make it easier than what it currently is, no need for any unofficial channels. If you follow the guide at https://clojure.org/guides/getting_started https://clojure.org/guides/getting_started to install Clojure, you'll end up with `clj` in your `$PATH`, and then it is as easy as it is with Python, unless I misunderstand what you mean.
$ clj --version
Clojure CLI version 1.10.3.849
$ echo "(println \"hello world\")" >> hello-world.clj
$ clj hello-world.clj
hello world
- brundolf 5y agoThis was three or four years ago so it's very possibly changed since then (in fact the OP was specifically about this story changing)
- capableweb 5y agoYeah, three or four years ago (before Clojure Tools), you'd have to do something like this: $ java -cp clojure.jar clojure.main hello-world.clj Still, I'd argue it's about the same as Python, at least for the most basic use case, like what you were complaining about in your previous comment.