Re:Introduction to Functional Programming in OCaml
by 1_listerine_pls on Sunday September 04, 2016 @03:02PM
(#12426111)
Why OCaml instead of other functional languages such as Scala, Haskell, Erlang, etc...? Is there anything unique about OCaml.
Re:Introduction to Functional Programming in OCaml
by ocamlmooc on Monday September 05, 2016 @08:27AM
(#12429788)
A 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?"
Re:Introduction to Functional Programming in OCaml
by Scarbutt on Sunday September 04, 2016 @04:36PM
(#12426581)
Because they are French ;) and Ocaml is as good as those you mentioned for teaching FP.
Re:Introduction to Functional Programming in OCaml
by vegabook on Monday September 05, 2016 @04:56AM
(#12429002)
It 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.
Re:Introduction to Functional Programming in OCaml
by reddit_clone on Monday September 05, 2016 @04:40PM
(#12432127)
>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.
If you have precise suggestions for improvement, please do not hesitate to send them to the course authors, there maight still be time to take them into account.