DEV Community

Cover image for How To Learn OCaml

How To Learn OCaml

Sophia Brandt on November 09, 2019

A starting point for learning OCaml - a functional, type-safe, expressive, and battle-proven language Why OCaml? OCaml is an open-sou...
Collapse
 
alexleduc76 profile image
Alexandre Leduc

The problem with ReasonML, which I attempted to learn a while back, is that it doesn't have nearly as much documentation as OCaml (OCaml even has a good book on it, published by O'Reilly) so you eventually realize that the easier learning path is to learn OCaml first. But then why learn ReasonML after that?

I eventually gave up on learning a "real" functional language. Instead I use things like Ramda JS library and Redux, which enforce a lot of good functional patterns like immutability and function composition, without having to leave the comfort of a language I know well.

Collapse
 
sophiabrandt profile image
Sophia Brandt

Thank you very much, Michael! That looks like a concise tour on OCaml. Very helpful.