Earlier quoted context omitted.
Scheme is quite simple compared to Haskell or even ML. Yet even MIT moved from Scheme to Python.
Did they have pure intentions in that move? I thought it was more out of popularity than any good metric.
Teenage Haskell
21–30 of 93 posts
Re: Teenage Haskell
#22Earlier quoted context omitted.
This has been done with Scheme and works really well. But Haskell really is too complex.
Scheme is quite simple compared to Haskell or even ML. Yet even MIT moved from Scheme to Python.
Re: Teenage Haskell
#23My brother (a Haskell programmer) and I (a teacher of high school CS) have talked about this often. He's postulated that teaching Haskell to kids with no programming experience would be an interesting experiment. Their lack of preconceptions regarding programming might make Haskell much easier for them to pick up, than it would for a student with experience in another language. What would be more interesting however,…
Re: Teenage Haskell
#24My brother (a Haskell programmer) and I (a teacher of high school CS) have talked about this often. He's postulated that teaching Haskell to kids with no programming experience would be an interesting experiment. Their lack of preconceptions regarding programming might make Haskell much easier for them to pick up, than it would for a student with experience in another language. What would be more interesting however,…
Re: Teenage Haskell
#25My brother (a Haskell programmer) and I (a teacher of high school CS) have talked about this often. He's postulated that teaching Haskell to kids with no programming experience would be an interesting experiment. Their lack of preconceptions regarding programming might make Haskell much easier for them to pick up, than it would for a student with experience in another language. What would be more interesting however,…
This has been done with Scheme and works really well. But Haskell really is too complex.
If you go through A Gentle Introduction to Haskell[0] I think you'll see it's a pretty simple language. There aren't that many parts of core Haskell to learn about.
Perhaps the abstractions such as Monad and Functor are more complex, but they don't seem anymore complex than some of the design patterns used to accomplish what they're used for.
Re: Teenage Haskell
#26Earlier quoted context omitted.
> Would they think Python was stupid or would they be grateful that all of a sudden they could use a for loop? They would probably be at least as mystified by infinite loops as Python programmers are by space leaks.
There are infinite loops in Haskell too. (And space leaks in python)
Re: Teenage Haskell
#27Earlier quoted context omitted.
This has been done with Scheme and works really well. But Haskell really is too complex.
What about Haskell is too complex? If you go through A Gentle Introduction to Haskell[0] I think you'll see it's a pretty simple language. There aren't that many parts of core Haskell to learn about. Perhaps the abstractions such as Monad and Functor are more complex, but they don't seem anymore complex than some of the design patterns used to accomplish what they're used for. 0: http://www.haskell.org/tutorial/
Re: Teenage Haskell
#28Earlier quoted context omitted.
It's an experiment that I'll never run. CS exam requirements are geared towards OO languages. Students have to analyse and write pseudocode using traditional programming constructs.
What are CS exam requirements? Are they standardized? I went through the American system, and never had any of my tests biased to OOP (except of course, a Smalltalk chapter in one PL zoo class). Object thinking is easier to wrap one's head around than mathematical formal thinking, but that's just because the former uses the brain's innate linguistic hardware (we learn to talk without much effort) while the latter req…
Here's the latest course description: http://media.collegeboard.com/digitalServices/pdf/ap/ap-comp...
Re: Teenage Haskell
#29How did Sam get his name into his sheep picture? I don't see any functions that draw text among the seven functions the kids had at that point, and the text doesn't look like it was built by just drawing rectangles and circles.
Re: Teenage Haskell
#30I never tried Haskell, or 'functional programming". To be honest, I don't even know what functional programming is. Can someone explain how is it different from Python or C (the only two languages I did little coding with)?