4 ms·
Why OCaml instead of other functional languages such as Scala, Haskell, Erlang, etc...? Is there anything unique about OCaml.
by 1_listerine_pls 10y ago
Why OCaml instead of other functional languages such as Scala, Haskell, Erlang, etc...? Is there anything unique about OCaml.
- Scarbutt 10y agoBecause they are French ;) and Ocaml is as good as those you mentioned for teaching FP.
- vegabook 10y agoIt is purer than Erlang, has less cruft than Scala, is more practical than Haskell, and in my opinion has a very nice syntax. It is also very fast.
- reddit_clone 10y ago>It is purer than Erlang Not sure what value of 'pure' you are using here. Erlang has (practically) no mutation to speak of. Thus I would consider that purer. Ocaml on the other hand is as mutating as you want it to be.
- vegabook 10y agoYes I guess I was throwing static typing, somewhat incorrectly, into the "pure" catch-all.
- ocamlmooc 10y agoA mother offered his son, on his birthday, two nice designer ties. Naturally, the son quickly took one of the two ties, put it on, and showed it smiling to his mother. The mother, almost crying, asked "You dont like the other tie?"