Hacker News new | ask | show | jobs
by throwaway287391 1805 days ago
> in groups of two

I wouldn't doubt there's good research showing pair programming is a great way to learn, but anecdotally/observationally I really have trouble believing it's effective. In my experience, in at least half of pairs there will be one more skilled programmer and one less skilled programmer and the better one does the lion's share (if not all) of the work -- this is doubly true if the partnerships are randomly assigned. Even if the worse one is trying their best to stay engaged and follow along, it's just hard to do if the other person is faster than you, and you might even feel like you're being a bit of a useless nuisance by asking questions when the other person is clearly capable of working on their own. (I've been on both sides of this in different contexts, BTW.)

But I imagine my intuition must be wrong since this is such a popular teaching method -- interested to read any research/counterpoints on the subject.

2 comments

I only have anecdotal evidence. But in my lab we have tried all combinations (working in groups of n, for n=1 to 4, randomly assigned or not). All setups may fail, for different reasons, but the setup that is consistently less likely to fail is two students that get along well with each other. The case when one of them is more skilled is actually very good, because then they teach the other one. There's often other work to do, like presenting the solution, or writing a short report, and they can share that work as they see fit.

As a student, many years ago, I have been in both situations: the more skilled of the group who taught the other, or the less skilled that was taught (and worked really hard because I was ashamed to be a "useless nuisance"). Both experiences have been very positive in my case.

I was swayed by the argument against working in pairs, then swayed back by your argument in favour of working in pairs. I think the key part that changed my mind was "two students that get along well with each other". I wonder if you emphasise this in your instructions to students? And if so, how?
We just let them group themselves. If there's an odd number of students, a group of three is allowed. Every couple of years there's a "bad experience", in which one of the students does all the work, or some kind of conflict. But so far it seems to be a good choice overall (after the deal, the students generally say that it was a happy experience).
> The case when one of them is more skilled is actually very good, because then they teach the other one.

Right, I get that that's the theory, it's just that I've never personally seen it work out so well in practice.

I can imagine how it's extremely useful and rewarding for both partners if you have two very motivated people, and the better one is keen to teach and even genuinely open to suggestions from the "worse" one, and the "worse" one is keen to learn. That's the model for a good partnership that most people probably have in mind when they propose doing a project like this. I've just never actually seen a partnership work out like that -- it feels like it requires both members of the parternship have top ~quartile motivation/empathy/communication skills (which as you could imagine might end up being pretty rare among randomly selected CS students...).

In any case thanks for sharing your experience -- good to know that it actually can/does happen!

To me the key part is really this:

> There's often other work to do

IMO there needs to be somewhat of a give and take situation (which can also work on other angles with pairs that already like each other for whatever reasons).

When finding a balance is just hard, straight rewarding the more knowledgeable/faster half of the pair could work too, provided there is a reliable way to identify them and how much they helped their counterpart.

I don't know about C.S., but anecdotally, I studied with another student as an undergrad and taught him Zoology. It was good for me (I was forced to explain all the concepts thoroughly) and good for him (he did fairly well in the course). Win-win.
Out of interest, do you actually force them to follow pair programming best practice (e.g. periodic switching)? Or just put them in groups of two and let them at it?
Im not the person youre responding to but I have a similar experience and I usually let the pairs make their own decisions about how they work. I've found that to be many times more effective than "switch every x minutes" or interfering in any other way. Let them work it out. I only step in if there's a problem (students not showing up, refusing to work, etc -- which is very, very rare).
I always felt cheated when teachers do this. Either I’m the better one in the pair, and I’m forced to waste my time doing the teacher’s job teaching simple concepts instead of learning anything new myself, or I’m the less knowledgeable in the pair, and instead of listening to a professional I’m stuck being tutored by an amateur who doesn’t know how to explain anything.
This was my feeling too, and so I always found a way to weasel out of groups. In the decades since though, I have come to think that it was a mistake.

In the ways you describe, academic group work is pretty similar to being a professional developer, unless you're in a solo project. The experience of dealing with people would have been more instructive (for me) than whatever ostensible subject material we were covering at the time.

My first-year CS student self would have agreed with you; I had several experiences where I (a minority student in CS) had to work with overconfident white male students who always felt the need to explain things to me that I already knew. Looking back though, these experiences have made me a more resilient person when dealing with difficult colleagues and peers I'm forced to work with.

I've always loved teaching peers because it reinforces my knowledge of the concepts being taught and gives me a sense of satisfaction. On the flip side, I feel small and maybe a bit ashamed if I'm less skilled than my partner, but if my partner's nice enough to explain things to me, then I come out with a better understanding of the concepts and a good relationship with my peer. Either way, it's a win-win situation, even if it doesn't feel that way in the moment.

> Either I’m the better one in the pair, and I’m forced to waste my time doing the teacher’s job teaching simple concepts instead of learning anything new myself,

Nothing will expose the gaps in your own understanding faster than trying to teach another person. Just being forced to verbalise your own understanding helps you remember things better, even if you already had a good grasp of the material.

> or I’m the less knowledgeable in the pair, and instead of listening to a professional I’m stuck being tutored by an amateur who doesn’t know how to explain anything.

If they understand what they're talking about you can ask questions until you understand as well as they do.

> I’m forced to waste my time doing the teacher’s job teaching simple concepts instead of learning anything new myself

IMO you can't say you really understand a thing until you've taught it to someone else. Your teachers gave you the opportunity to hone your own teaching skill, something you will use your entire CS career. Just wait until you are a senior dev holding the hand of someone more junior than you. If you think there is a skill gap between you and your peer in the same class, imagine the experience gap between you and someone 20 years younger than you.

> Your teachers gave you the opportunity to hone your own teaching skill

If I wanted a lesson in teaching, I would take a class in it. Teachers should teach the subject as advertised.

http://www.machall.com/view.php?date=2005-01-26

Doing group work is a very normal part of software development. Lacking any particular "advertisements", it seems entirely reasonable for a software course to provide experience that is consistent with that.