2 ms·
I'm a Haskell programmer. I agree that Haskell is as expressive and fosters an ease of readability like Python. But to say that you can do basic programming wit
by hannofcart 8y ago
I'm a Haskell programmer. I agree that Haskell is as expressive and fosters an ease of readability like Python. But to say that you can do basic programming without understanding type classes, is taking it a bit too far.
In fact, as far as teaching 5 year olds is concerned, I'd go with Lisp rather than Python.
- jolux 8y agoSure, Lisp, ML, whatever. The point is not that Haskell is the absolute best language for beginners, but that Python is not lightyears ahead of it as regards clarity and readability. I think you _can_ do basic programming without typeclasses, and even then, simple typeclasses are not hard to explain. In fact, I think Num might be easier to explain to a 5 year old than the distinction between Int and Float is.