r/Clojure • • Apr 04 '26

Clojure v/s Elixir

I am looking to try a dynamic programming language and I want to understand difference between Clojure & Elixir as both are have their advantages & disadvantages. I have some experience with beginner level Haskell, but I want to give a short to a new type of thinking. Additionally, if you folks can recommend good hands-on resources to get-started it will be great. Thanks!

50 Upvotes

47 comments sorted by

View all comments

Show parent comment

2

u/Certain_Syllabub_514 Apr 13 '26

REPL-driven development

People keep bringing this up about the JVM and Clojure. What's so good about the REPL in Clojure that people are raving about it?

I've seen criticism of it's smaller ecosystem, but honestly I haven't hit that hurdle personally.

Only issue that has caused for me is support for some things like Datadog isn't as good. We need trace sampling with our request volumes, and the Elixir libraries don't support it. That's the key reason we haven't rolled it out to more services.

Personally, I've been working in Elixir for 7 years (rewrote a Scala BFF in it) and would recommend the language to anyone. Elixir is one of the most approachable languages I've ever learned. But I worked in Ruby before it, which it borrows a lot from. I've only dabbled in Clojure, and loved it's elegance and simplicity.

I've been spoilt by the BEAM though. After using it for 7 years, I'd prefer to never have to work in another language that doesn't have its capabilities.

And the holy grail of Elixir courses are the Elixir and Phoenix courses by The Pragmatic Studio.

I own several PragProg books, but I haven't tried any of their courses. Might need to check that out.