3 ms·
That's a tough question to answer as Clojure is a really great language and Rich Hickey is someone whose every word I'll read or listen to in a video. Someone
by rubiquity 12y ago
That's a tough question to answer as Clojure is a really great language and Rich Hickey is someone whose every word I'll read or listen to in a video.
Someone more well-versed in Clojure than I can probably answer this better, but in my opinion:
- Clojure runs on the JVM, so Clojure's concurrency is still sharing memory deep down, whereas Elixir is not.
- I would think Elixir has deeper library options than Clojure due to having interoperability with Erlang. I guess in Clojure you get all the Java libraries too, though.
- While Leiningen is a much better build tool than other JVM build tools, it still reeks of too much configuration. Mix is very, very simple.
- Clojure, for sanity purposes, requires using a very Lisp-specific development environment. Clojure isn't the only language I use so using something like vim-fireplace or Emacs just for Clojure was a bit much for me.
I'm happy to be wrong on any of my points above and again I think both Elixir and Clojure are great.
- klibertp 12y agoIn my experience Leiningen is so much slower for typical, casual use case than rebar and mix that it was a serious inconvenience. I didn't try to solve it by having something like a deamon always running in a background or something like this though, it's possible that this is already addressed. > requires using a very Lisp-specific development environment I'm an Emacs user, so it was very natural for me, but I think it can be a problem for others. On the other hand I hear that there are excellent plugins for widely-used IDEs for Clojure. Actually, as Clojure is a Lisp, the only thing you really need is an editor which handles sexps well. Emacs Paredit is really great for this: http://emacsrocks.com/e14.html http://emacsrocks.com/e14.html but as long as you get similar functionality you can use anything you want.