Re:Khan Academy: Computer Science
by tel on Tuesday November 01, 2011 @08:10PM
(#3184758)
Assignment isn't idiomatic in functional programming.
[ Parent
| on HN ]
Re:Khan Academy: Computer Science
by dpritchett on Wednesday November 02, 2011 @11:16AM
(#3187143)
The functional programming is a side effect of the desire to teach computer science in a low-friction way. It's nice to not have to also teach Java along with your CS concepts.
I know that when I teach myself anything it's best to focus on one new concept at a time. Scheme's light weight allows all but the CS concepts to fall away from the new coder's consideration.
The functional programming is a side effect of the desire to teach computer science in a low-friction way.
And why not code in a low-friction way even when not being taught? I wasn't intending to defend FP, but I think it's silly to think of assignment as a fundamental part of CS or the art of coding. It's just one tool.