Skip to main content

Don't teach programming by asking students to program - What?

Saw this article in one of the ACM blogs that cited a recent study in an educational psychology journal on how teaching introductory Cs students to program by having them write code actually has a detrimental effect. More details here.

I absolutely disagree with the author that this study has implications in CS! First of all it cites a study done with teaching algebra so it is a different domain. I think that the problem is that there is too little programming going on rather than too much. I also wonder of anyone has considered that an introductory programming class probably has a mix of two very different types of students - one just exploring CS as one of many career options, the other the kind that took their dad's computer apart in the garage and started programming at age 8. The latter kind still have to take the introductory class because of degree requirements but now it gives you a class sample that's skewed and hard to make any conclusions about.

If everyone that took a introductory CS class were also required to have done some programming at middle school or high school level, that would make a huge difference. I have looked at some of the so called "introductory" CS classes in my school district's website - it has stuff like using word processing/spreadsheet programs. That is like saying learning to drive is "Introduction to automobile engineering". So no wonder these students get to their first CS class and feel lost..

Comments

  1. In school in India, in my first ever CS Programming subject, the teacher used to walk through a super simple example program and then give us a much more complex problem to program ourselves. Most of us couldn't figure it all out ourselves and so I thought this teaching process was really stupid. So if what the author is trying to say here is that a "go do all this coding and figure it out all yourself" won't really help - I agree with him.
    But that is not to say it should all be theory. Just that it should be a balanced mix, unlike how it was in my school. Also, like you point out, the effectiveness of the process very much depends on whether the introductory class is really introductory to all students in the class. I was a TA for a Java 101 course at ASU and my class had the whole range from CS geeks to students who took Java because they thought it was yet another spoken language like French or Spanish! So I totally relate to how much the teaching process should cater to the kinds of students in the class :).

    ReplyDelete
  2. I had the opposite experience in my school back in India. The teacher never deviated from whatever was already in the book (think it was Pascal) so I used to think - wow this stuff is so easy, till I got to a different class and it was like starting from scratch all over. :)

    ReplyDelete

Post a Comment

Popular posts from this blog

What's your black triangle?

There is a great post from 1994 about  black triangles  in the context of building large and complex systems. You might think that 1994 sounds like the dark ages, but the principles outlined in that post do stand the test of time. Here is my favorite excerpt from that post: What she later came to realize (and explain to others) was that the black triangle was a pioneer. It wasn’t just that we’d managed to get a triangle onto the screen. That could be done in about a day. It was the journey the triangle had taken to get up on the screen. It had passed through our new modeling tools, through two different intermediate converter programs, had been loaded up as a complete database, and been rendered through a fairly complex scene hierarchy, fully textured and lit (though there were no lights, so the triangle came out looking black). The black triangle demonstrated that the foundation was finally complete the core of a fairly complex system was completed, and we were now ready t...

What are your future plans? Why are you *still* a developer?

If I had a nickel for every time someone has asked me that question I'd have enough change for a year? Inspired by my friend's post here , I thought I'd write about how I ended up doing what I do now. Then I thought about it some more and decided to write about something else. Is it important to know where you are going in life? If you aren't moving forward in your career does it mean that you are doing something wrong? What does "moving up the ladder" even mean? I am going to attempt to answer these questions for myself. Its almost 5 years since I began my professional career. It has been great so far, lots of ups some downs as well. However, once in a while when I get the title question it still throws me off. It is usually my parents or well meaning relatives, sometimes friends that ask this. I have nothing much to say to them except "I enjoy what I am doing right now, haven't really thought about the future". But the truth is - I have thou...

A cosmo style guide to git

Imagine a Venn diagram with three sets - developers, git users, and Cosmo readers. I am one of those at the tiny intersection of all three. There may be others out there but I don't personally know any. Despite the provocative title, this post has little to do with Cosmo. Cosmo is like my perfect escape route when I want to step away from real life for a bit. Thumbing through articles like '10 ways to style your hair'! '27 must have Shoes for fall!' and more of the same thing said 30 different ways is very entertaining to me. Not that I actually follow anything in there. Cosmo does have a few things going for them -  they know how to pick a provocative title, and their sentences are short enough to convey their message without being overly verbose and preachy. You can get what they are trying to convey using 10% of your brain. As an enthusiastic Git user, I decided to write about how it changed my life. I have never felt this inspired about any other tool to ...