4 ms·
Learning Haskell is rewarding in long term, since it deepens your understanding of things. I learnt both Haskell and OCaml at the same time since their core is
by a0 11y ago
Learning Haskell is rewarding in long term, since it deepens your understanding of things.
I learnt both Haskell and OCaml at the same time since their core is essentially the same. But in real world scenarios the way you think about problems is different in both languages. Haskell tends to be more abstract and favor mathematical reasoning, while OCaml is pragmatic but still very expressive.
TL;DR: It depends on your needs, if you want to learn the language and start building something quickly, OCaml is definitely a better choice. You can always come back later to Haskell, and you'll be surprised to see how similar they are.