Can anyone sell me on why I should use clojure over say, any of the other nice Lisp-1s, given that I don't care about java.
Clojure 1.9 is now available
51–60 of 121 posts
Re: Clojure 1.9 is now available
#52Earlier quoted context omitted.
Can you explain the relevance of your comment / the idea you're trying to convey?
The parent found it strange that a js cli was needed as well. I pointed at atwoodslaw as a reason why duplicate tools can be found. I must note, I like clojure for its cross vm support. One lisp to rule them all.
Re: Clojure 1.9 is now available
#53Earlier quoted context omitted.
Well, for the first time since the langauge was created you can now do `brew install clojure`, and then `clj` on the commandline and get a repl. I would have loved something that painless when I was learning Clojure.
Leiningen has been incredibly painless: $ brew install leiningen $ lein repl That's literally all it took.
That isn't always trivial.
Re: Clojure 1.9 is now available
#54Yes! With this release clojure.spec is ready to go (tm). It adds a ton to Clojure(script), including better error messages (yes!), data-structure shape declarations, generation of data, writing quickcheck (generative) tests for a function by just describing the args and return values of functions, and more.
What are some good examples of this?
Re: Clojure 1.9 is now available
#55Why focus on command line tools? There's already Leiningen which does an amazing job, and Boot for the few use-cases Leiningen doesn't take care of. Creating another CLI seems very strange.
I like to know how a toolchain works, how libraries are linked, etc. I don't want to rely on "magic" that can be incompatible with alternative "magic".
Clojure didn't provide a good low-level interface, and I ended up giving up on it for that reason alone.
Now that there are some minimal command-line tools, I think I'll give it another look.
Re: Clojure 1.9 is now available
#56Earlier quoted context omitted.
Leiningen has been incredibly painless: $ brew install leiningen $ lein repl That's literally all it took.
So long as you have leiningen installed. That isn't always trivial.
I’m not sure I understood your comment. Parent’s code block has two lines: the first one installs Leiningen; the second one starts its repl.
Re: Clojure 1.9 is now available
#57Why focus on command line tools? There's already Leiningen which does an amazing job, and Boot for the few use-cases Leiningen doesn't take care of. Creating another CLI seems very strange.
Because lein is bloated, breaks constantly, and is absolutely overkill if all you want is a REPL and some deps from Maven.
Mind expanding on that? My 4-years experience using Leiningen has been great so far.
Re: Clojure 1.9 is now available
#58Earlier quoted context omitted.
So long as you have leiningen installed. That isn't always trivial.
> So long as you have leiningen installed. I’m not sure I understood your comment. Parent’s code block has two lines: the first one installs Leiningen; the second one starts its repl.
This is just another layer in the toolchain to contend with, and since Clojure is built on the JVM, the toolchain is already quite bloated.
Re: Clojure 1.9 is now available
#59Why focus on command line tools? There's already Leiningen which does an amazing job, and Boot for the few use-cases Leiningen doesn't take care of. Creating another CLI seems very strange.
Last time I looked into Clojure, I found myself frustrated that I was expected to install leiningen, Java, etc. and get it all working together before I could write any code. I like to know how a toolchain works, how libraries are linked, etc. I don't want to rely on "magic" that can be incompatible with alternative "magic". Clojure didn't provide a good low-level interface, and I ended up giving up on it for that re…
There's not much documentation for doing that stuff though, because (almost) nobody wants to do that. It's painful.
Re: Clojure 1.9 is now available
#60Yes! With this release clojure.spec is ready to go (tm). It adds a ton to Clojure(script), including better error messages (yes!), data-structure shape declarations, generation of data, writing quickcheck (generative) tests for a function by just describing the args and return values of functions, and more.
better error messages (yes!) What are some good examples of this?