4 ms·
Clojure is concise, expressive, not noisy, opinionated (with generally appreciated opinions), dynamically typed, a Lisp, functional with some escape hatches (bu
by blunte 7y ago
Clojure is concise, expressive, not noisy, opinionated (with generally appreciated opinions), dynamically typed, a Lisp, functional with some escape hatches (but not confused with being FP and OOP), and built to solve real problems. Scala is either the opposite of these, or at least not as much of these.
IMO, less code is better. Clojure is about as terse as you can get and still be readable (by my opinion). Scala is very visually noisy in comparison. While you can do types with Clojure.spec, you get to choose when and use when useful to you.
Rich Hickey is the best communicator of why Clojure is good. Here's a relevant starting point a video talk he gave on the 10 year anniversary of Clojure:
https://youtu.be/2V1FtfBDsLU?t=1636 https://youtu.be/2V1FtfBDsLU?t=1636
All this said, Scala has more jobs than Clojure in the same way that Java has more jobs than Scala does. It's more Java-like than Clojure (and not just because it isn't Lisp). (And incidentally, only people who haven't tried at all to use Clojure complain about parens ().)
Sadly, I think Javascript is the long-term winner. Python is also a winner, but it doesn't have the front-end reach that JS has (while JS also has server side). Clojure and Clojurescript can do both, and are an awesome choice if you don't mind working alone and having few job opportunities. However, if you want to focus on one language and be able to do a lot of things, and have lots of job opportunities. Javascript is actually the one I would suggest.
- slowmovintarget 7y agoThough Clojure jobs tend to be the highest paying. https://insights.stackoverflow.com/survey/2019#top-paying-technologies https://insights.stackoverflow.com/survey/2019#top-paying-te...
- hota_mazi 7y agoIt's pretty common for niche languages. The fewer developers there are, the higher they are likely to be paid. These jobs are pretty much impossible to get, though.
- christophilus 7y agoI suspect this is because Clojure developers tend to be more senior.