News for hackers. Stuff that matters.
Re:Is Haskell the right language for teaching functional pro... by adjkant on Monday October 16, 2017 @10:46AM (#15483526)
Racket / HtDP is the best way to teach functional programming to beginners.

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.

Re:Is Haskell the right language for teaching functional pro... by baldfat on Monday October 16, 2017 @12:38PM (#15484520)
THIS!

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.

Re:Is Haskell the right language for teaching functional pro... by cglouch on Monday October 16, 2017 @04:45PM (#15486508)
Definitely 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/

Re:Is Haskell the right language for teaching functional pro... by adjkant on Tuesday October 17, 2017 @06:27PM (#15495506)
Glad to see people are enjoying Pyret! If you don't like the parenthesis in Racket, this is the path for you.
Re:Is Haskell the right language for teaching functional pro... by emmelaich on Monday October 16, 2017 @08:19PM (#15487733)
Yes, I did the Coursera Racket course and it was great.