Re:OCaml 5.0 Alpha Release
by nicoburns on Wednesday June 15, 2022 @08:33AM
(#31752011)
My impression is that Haskell's laziness and focus on purity though make it rather a pain to work with, whereas OCaml is a lot more pragmatic like Rust.
[ Parent
| on HN ]
That's why OCaml won over Haskell and Standard ML for me. The authors are not afraid to “get their hands dirty” with procedural constructs or even OOP for the cases where those things are useful.
This impression does not match reality. It's great to work with. I'd certainly take it over ocaml (having spent probably thousands of hours on both).
Can you give a few examples about why did you pick Haskell over OCaml, please? And let's skip "elegance" and other pie-in-the-sky magic.
Let's talk productivity in commercial projects. Or making scripts for your own use (if you're not happy with bash/zsh/fish... which I'm not).