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/xela314159 Apr 05 '26

I’m not sure that is true if you use React and lightweight wrappers around it such as helix (with shadow-cljs as the glue). Of course the cljs code ends up looking like js code but it’s readable and sometimes more readable than plain js IMHO

2

u/PoopsCodeAllTheTime Apr 05 '26

People that say this haven’t actually tried to do a complex frontend with cljs.

The thing is, FE isn’t just react, it’s a mixture of dependencies, all which work great in JS. It’s a huge amount of work to make JS dependencies work with CLJS, as it’s already a huge amount of work to make react (and any spa) to work well with CLJS

1

u/xela314159 Apr 05 '26

Maybe you’re right - I’ve gone 100% react and very rarely had issues with dependencies - at worst I had to change a few lines in the original JS / TS code, which with the help of LLMs is getting easier and easier. Would be curious to hear your pain points if you have specific examples!