6

In the company I'm currently working on, we've been doing pair programming for a while now. In the current project, for the last couple of days, we've been trying to make our pair programming a little better, so we even have a timer now to ensure that the swap between driver and navigator happens often enough.

For changing pairs, we tried to do it in several ways. We tried changing at the end of the week, but found it too long. We tried in the middle of the week but we tended to forget, so we decided to do it daily.

Problem is that there are some stories that take a couple of days, so it's a little cumbersome to do it this way. Then we changed to a "per story" pair changing. But this is just a little uneven because the stories themselves most of the time are uneven as well.

So, simple question:

How often should you change pairs?

4
  • 1
    Before changing pairs, you should try to use search on the subject of changing pairs. programmers.stackexchange.com/questions/69306/… Commented May 24, 2011 at 13:17
  • What are you trying to accomplish by changing pairs? Commented May 24, 2011 at 15:16
  • @Jeff O: What we're trying to accomplish here is that we all get to know all the code and features that are in the project and that we all pair with everybody else, so that way different ideas might come to solve each new problem. Commented May 24, 2011 at 15:21
  • Appreciate your question. Please do read my answer to similar question posted at http://programmers.stackexchange.com/questions/69306/pair-swapping-what-are-the-pros-and-cons/90527#90527 Commented Jul 7, 2011 at 9:50

2 Answers 2

5

Whenever it makes sense to.

From experience, we don't have strict allocated time for peer-programming. It is merely an exercised concept to benefit developers. During allocation of tasks, sometimes it makes sense for two people to tackle the task together. So there's no sense of strict rotation like speed dating.

2

I guess I'd have to say that we change on a per task basis, but as you pointed out task durations aren't always equal. On average I would say that we change partners twice a week but there's no set day or rule about it. If a pair completes their task and no one else is close to finishing theirs, then they'll just start their next task together as well.

What's good about it is that there is no rut to the week. You're never quite sure when you come in for the day whether you'll be paired up with someone new or not. I kind of like the spontaneity of it.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.