News for hackers. Stuff that matters.
Re:OCaml for the Masses (2011) by progman on Monday November 26, 2018 @11:54AM (#18534680)
If you want to teach FP you should use the very first and most simple FP languages --- Lisp and Scheme. Despite their extreme simplicity, they provide an extremely expressive power (through their macros) which is still unmatched in most other languages.
Re:OCaml for the Masses (2011) by drb91 on Monday November 26, 2018 @12:20PM (#18534953)
I wouldn’t characterize either as FP, though—both of them still actively encourage maintenace of mutable state and use of macros.

They may be “simple” in that they are very analyzable but you’re teaching a whole bag of skills, and the most FP part of lisp/scheme is just the closure.

Re:OCaml for the Masses (2011) by baby on Monday November 26, 2018 @08:07PM (#18538412)
These languages are horrible, filled with parenthesis and not fun. I had to learn these in school, like many other people, and I stayed away from FP languages for a long time because of that (like most people).

Try to learn Erlang or Ocaml, it's fun.