Haskell vs. Clojure (2014)
gist.github.com
Haskell vs. Clojure (2014)
1–10 of 55 posts
Re: Haskell vs. Clojure (2014)
#2Clojure is one of my favorite languages. If they get the stack traces/better errors figured out, it will be damn near perfect IMO.
Re: Haskell vs. Clojure (2014)
#3Re: Haskell vs. Clojure (2014)
#4The Clojure code is shorter, but that's almost entirely because it's dynamically typed. And that's not necessarily a benefit, either. Cheshire just takes JSON and turns it into plain old Clojure data (maps, vectors, strings or keywords, etc.) whereas Aeson requires the programmer to manually unroll the whole structure from top to bottom into user-defined types. But by doing so it guarantees that if something is missi…
Re: Haskell vs. Clojure (2014)
#5If you want to get shit done, and make sure the types are correct, and make sure all side effects are properly managed and accounted for, that's Haskell's niche.
Re: Haskell vs. Clojure (2014)
#6The Clojure code is shorter, but that's almost entirely because it's dynamically typed. And that's not necessarily a benefit, either. Cheshire just takes JSON and turns it into plain old Clojure data (maps, vectors, strings or keywords, etc.) whereas Aeson requires the programmer to manually unroll the whole structure from top to bottom into user-defined types. But by doing so it guarantees that if something is missi…
Re: Haskell vs. Clojure (2014)
#7If you just want to get shit done, Clojure is fine (though any other Lisp would arguably be better than Clojure). If you want to get shit done, and make sure the types are correct, and make sure all side effects are properly managed and accounted for, that's Haskell's niche.
Care to elaborate why you think any other Lisp is better than Clojure? I would like to hear your arguments.
Re: Haskell vs. Clojure (2014)
#8Highly recommended.
Re: Haskell vs. Clojure (2014)
#9Re: Haskell vs. Clojure (2014)
#10If you just want to get shit done, Clojure is fine (though any other Lisp would arguably be better than Clojure). If you want to get shit done, and make sure the types are correct, and make sure all side effects are properly managed and accounted for, that's Haskell's niche.