Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

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?

share|improve this question
1  
Before changing pairs, you should try to use search on the subject of changing pairs. programmers.stackexchange.com/questions/69306/… –  S.Lott May 24 '11 at 13:17
    
What are you trying to accomplish by changing pairs? –  JeffO May 24 '11 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. –  Edgar Gonzalez May 24 '11 at 15:21
add comment

3 Answers

up vote 4 down vote accepted

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.

share|improve this answer
add comment

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.

share|improve this answer
add comment

Appreciate your question. Please do read my answer to similar question posted at Pair Swapping: What are the Pros and Cons?

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.