|
So the two languages have all their strength and weaknesses. I start with Haskell, and I try Clojure, time to time. After working a while, I finally give a clear advantage to Haskell. Yes, Math people are chatty in Haskell, but you can do _a lot_ with very few Math. In fact, with Haskell, the more your project growth, the more time you spend on interesting things. While in Clojure (and most dynamic languages), you'll lose your precious time with undetected syntax errors, and all standard unitype errors. But for _very_ simple projects, Clojure is great in term of productivity. So in general, I try to use the right tool for the right job. - If you want to make a dirty thing, use a shell script or Perl.
- If you want to make a prototype, Clojure is great.
- If you want to make a project for production, then Haskell is the clear winner here (in term of bugs/efficiency/time). One thing I get with Haskell I didn't got with Clojure is "code scalability". In Haskell, my code tend to be more reusable than in Clojure. |
Clojure sits on top of the JVM, and as such, has the benefit of interop with some of the most robust software packages in the world.
Unless I'm missing something, you'd need to roll your own packages in Haskell for all this functionality.
I would argue that the most efficient code is well maintained open-sourced code that you don't have to write.
I don't use Haskell, so there may be lots of libraries I don't know about, so forgive me if this question is naive.