3 ms·
Racket / HtDP is the best way to teach functional programming to beginners. http://www.ccs.neu.edu/home/matthias/Thoughts/Growing_a_Programmer.html http://www.
by adjkant 9y ago
Racket / HtDP is the best way to teach functional programming to beginners.
http://www.ccs.neu.edu/home/matthias/Thoughts/Growing_a_Programmer.html http://www.ccs.neu.edu/home/matthias/Thoughts/Growing_a_Prog...
Haskell obviously has its place, but it is much better used when looking at something like PL Theory at a 3000-400 level.
- baldfat 9y agoTHIS! Racket is an educational programming language as well as now a great general purpose language. I tried to learn Haskell three times and I always left with a bad taste in my mouth. So many paper cuts in the ecco-system aka I HATED Cabal and I know they changed it but man that this was horrible.
- cglouch 9y agoDefinitely agreed. I was introduced to functional programming via Pyret, which is similar to Racket and draws from HtDP in terms of pedagogy. It's a much gentler introduction than being thrown to the wolves with Haskell or OCaml. I'm sure one could learn FP effectively with those languages too, but if you're still trying to wrap your head around the functional paradigm you don't really want to have to stumble across words like "endofunctor" while reading the documentation. I even have a good math background but I would have found that confusing at the time. https://www.pyret.org/ https://www.pyret.org/
- adjkant 9y agoGlad to see people are enjoying Pyret! If you don't like the parenthesis in Racket, this is the path for you.
- emmelaich 9y agoYes, I did the Coursera Racket course and it was great.