4 ms·
I think Haskell is very akin to C++ in terms of learning curve. There are a ton of concepts you have to learn up front to even get started. The compiler is gen
by alaties 9y ago
I think Haskell is very akin to C++ in terms of learning curve.
There are a ton of concepts you have to learn up front to even get started. The compiler is generally unhelpful if you've never dealt with it before. There are a lot of approaches to solving a problem and the language does not make it clear which approach is preferred when. Unless you're a masochist, these qualities can be quite off putting.
I think a language like OCaml is a good entry point into functional programming. The compiler errors are really useful. The language pushes you towards a sane functional approach. The learning curve is pretty smooth, too.
My alma mater seems to agree and FP with OCaml in the upper level CS intro course (https://www.seas.upenn.edu/~cis120/current/index.shtml https://www.seas.upenn.edu/~cis120/current/index.shtml).