News for hackers. Stuff that matters.
Re:Why teach with Ruby? by steveklabnik on Thursday October 14, 2010 @12:39PM (#1791532)
> The concept of classes is often confusing, but setting aside the code isn't much of a mental challenge for any student I've met.

While I have little formal teaching experience, I hung around in the undergraduate lounge in school, which is where students came for help. I ended up helping a lot of non-majors with their first CS class, which was popular because it filled a general requirement for an Arts and Sciences degree.

These two classes were in Java and in VB6, and they struggled with anything that wasn't near-rote application. They had trouble with the scoping of variables, they didn't know when to use functions appropriately... if you say 'what does x = 5 do?' they can answer, but they can't apply that to writing new programs.

My friends who are TAing courses now have several students who end up turning in homework that doesn't even compile. Maybe students at your school are just smarter than mine, but a lot of people struggle here.

> It just feels like its the wrong place to have the discussion of magic.

It's true, I am conflating 'magic' slightly. I don't mean 'they can't properly metaprogram,' I mean it in the "any sufficiently advanced technology is indistinguishable from magic" sense. They struggle to apply what they see as magic incantations to new problems, because they don't have a solid foundation to work with.

Re:Why teach with Ruby? by kenjackson on Thursday October 14, 2010 @01:39PM (#1791778)
So I taught intro CS for CS majors. I can totally believe that for a subset of non-CS majors this could be more problematic.

My old submission program wouldn't let them turn in programs that won't compile (nor will it let them submit without it passing the example tests I gave them).

This was about eight years ago... Maybe students just aren't as smart anymore ;-)

Re:Why teach with Ruby? by BCGC on Thursday October 14, 2010 @09:56PM (#1793392)
Absolutely agree :)

But seriously, if the students turn in programs that won't even compile, I'd say the blame should be on the TAs and the Profs!