3 ms·
clojure has more jobs because it can work with existing java projects out of the box, with no need to refactor at all (to make it work, you would probably want
by adrusi 15y ago
clojure has more jobs because it can work with existing java projects out of the box, with no need to refactor at all (to make it work, you would probably want to organize things in a more clojure-friendly way). Haskell has remarkable interop with C when you consider how fundamentally different they are, but you can't just plug it into an old C project.
Java is everywhere, if a company is switching from java to a functional language, it's cheaper to make an organic transition using clojure, reimplementing when it seems appropriate, than it is to use Haskell, where no code could be left unchanged.
There are of course practical benefits of haskell to employers. It's faster, it tends to be easier to make major extensions to a haskell project without refactoring than in other languages, it's easier to reason about the code so new employees will be confident sooner, Haskell protects against subtle bugs that might not be noticed during debugging, etc.
Also, just because Haskell has been around longer than clojure, it was considered an exclusively academic language until only a few years before clojure came out.