News for hackers. Stuff that matters.
Re:Why I am Not a Professor, or The Decline and Fall of the ... by javanix on Sunday August 02, 2009 @02:49PM (#737890)
C would be my first preference as well, but I also appreciate that Scheme (or another functional language) would provide better opportunities than C or Java for students to learn more "advanced" algorithmic techniques such as recursion.

The problem with Java (and C, to a lesser extent) in basic problem solving is that you can almost brute-force-code and get a working solution that will get full credit, but after writing it a more elegant (and efficient) solution isn't always obvious. In functional languages, that "more correct" solution almost always seems to stand out more, at least to me.

Re:Why I am Not a Professor, or The Decline and Fall of the ... by sketerpot on Sunday August 02, 2009 @07:23PM (#738261)
Recursion is only considered an "advanced" algorithmic technique because people are taught to think of it that way. Recursion is actually pretty straightforward once you have a bit of practice using it.
Re:Why I am Not a Professor, or The Decline and Fall of the ... by javanix on Sunday August 02, 2009 @09:14PM (#738371)
Well, yes, most things do become easier with a bit of practice.

If a functional language was taught in beginner CS classes I think it would be easier for students to see how it works. It certainly "clicked" for me once I'd learned a bit of Scheme in my first AI class.

Re:Why I am Not a Professor, or The Decline and Fall of the ... by Locke1689 on Sunday August 02, 2009 @10:29PM (#738474)
Intro CS courses at MIT, CMU, and Northwestern are taught in Scheme.
Re:Why I am Not a Professor, or The Decline and Fall of the ... by scott_s on Monday August 03, 2009 @12:18AM (#738600)
MIT recently switched to Python. That fact is the other favorite cause for this discussion.