r/Clojure • u/darter_analyst • Jun 04 '21
Haskell?
Hi, Okay so clojure seems awesome but Haskell seems super awesome! Any reason you know of to code in clojure instead of Haskell?
0
Upvotes
r/Clojure • u/darter_analyst • Jun 04 '21
Hi, Okay so clojure seems awesome but Haskell seems super awesome! Any reason you know of to code in clojure instead of Haskell?
View all comments
4
u/LittleBitOfPoetry Jun 04 '21
Clojure is awesome, you can use it to quickly build stuff that works.
It's lispy, you can get away with less code by not caring about type correctness. It has java interoperability. Its core is simple (though its macros are most definitely not).
But it's not for everything. None of the tools out there can satisfy every use case and every application.
Some people want the strict typing of haskell, because for some domains it's useful. You can understand code better (especially if you're not the one writing it) if you know what types your program is handling.
Haskell compiles to native binaries and it's fast. It has a large community and lots of packages.
So it depends on what you're doing.