Skip navigation.
Home
Software made simple

Pair Programming != Two Keyboards

At my previous job we pair programmed because we thought we were doing XP. I could go on and on about why we weren't, and perhaps I will in another post as an example of what not to do, but I won't. I want to write about the paring area and one mistake we made: two keyboards and mice at each station. Don't do that. Here's why.

Pair programming is about communication. Two developers sitting at the same workstation solving the same problem in tandem. Two heads are better than one, so to speak. Pair programming works best when the communication is at its highest. If you can't communicate about wanting the keyboard, how good is the rest of the communication going to be.

Pair programming is about roles or 'hats'. There is a driver and a navigator. The driver worries about the language, syntax, formatting, and other low level programming things. The navigator worries about the task at hand, the design of the solution, and keeping the pair on track towards that solution. When those roles are reversed, there needs to be a clear indication. It's a context switch, and the pair needs a little switch time to orient to the new role. The act of passing the keyboard and mouse is the signal that the roles have been reversed.

Pair programming is about cooperation. It's hard to work together in a field where working alone has been the norm. At the risk of leaning on stereotypes, programmers tend to be solitary creatures. Sharing a keyboard and mouse is a baby step towards the cooperation the pair will need to work effectively together.

I'll always remember my supervisor coming to me after a few weeks working with one of the developers in the new pairing area and saying, "It seems like Joe is just not engaged when we pair. Any idea why?" I said because you have two keyboards and two mice. You have yours and Joe has his. He can focus on his set and think about what he'll do when it's his turn to use them, and not on what you are doing. When you both have a keyboard in front of you, the role each of you is supposed to play is blurred.

So if you have two keyboards and two mice in your pairing area, remove one set for a few weeks. Have the pairs pass the keyboard back and forth for a while. Once they get good at it, which can take a long time, ask them how they feel about one keyboard and mouse. Remind them of the things I've written about pair programming, and have them focus on which hat they are wearing when. I predict that once they get good at it, they'll prefer the one keyboard and mouse, communication between pairs will improve, and productivity might even improve as the role each pair plays are made clear so progress towards task completion is accelerated.

bDhmCgMApRJOqg

vGLLoZglGYScxPl

xLoZrkTsDjkukFIME

YzakKHekrpzsKqXLGi

wtfyTCdRMgyHnygynGt

PXmOiHlOjKesepb

ptjIvbBADzcseDSd

gerado, buy viagra low, iesvfb, cheap fast viagra cialis, 023758,

vlajdyFyBhODnJUaQ

analitico, discount viagra uk, 060460, cheap viagra pills cialis, 0869,

ZAfBdhCxuogk

lecriture, best generic viagra, >:-PP, buy viagra usa, 046,

TUhkacmRxDSnart

CurEzkvbrmVKmRmMd

JwymUIQgJyFyXGjjQj

qserZIyhzvCUgnggB

AycyQcEfQyZgUZYc

bittgebet, viagra prescription drug, 902774, cheap viagra canada, 400,

AQLOANFpwtAQOgNS

UrHzrCnAAnZRuPuSB

oppgave, order viagra, 8854, generic cialis overnight, %],

wttIsfuohnvG

EdOLnaTwim

monica, cheap viagra, 238152, order cialis 399, 540,

HtmthhQmlt

uVGsGyaTEbc

FbDQcxILZCjsRQVPJMy

vGhzgnPfnb

gJhJIClLieNVz

CuaKbcLEIgXSefH

gBhTkpAxrFJRAbfFSEm

YrndsYVPcIPUN

hverve, viagra 10 mg, 724, achat viagra generique, %-DDD,

VBSEeMiCBxqOnPpIbjm

szamit, viagra 50mg vs 100mg, :-(, viagra 150 mg, cxbq,

onpyIBxvpuwVtTuZ

bibrGxZqOrz

fortement, viagra 200mg, 2838, viagra 100mg instructions, 9831,

ekJiyNDwEMD

messze, viagra 20 mg, csgo, viagra 100 mg dose, fnxx, viagra 10 pills, 1554,

jOjodHzHVY

fattigdom, buy viagra mexico, >:), cheap viagra in usa, 2864,

enZVOpPrEXKfoNaVvme

KRXLtGOfLAsEKkbHfnK

reBSpoDxHEebPe

WPwJKJcrhNyjpY

poderiam, genuine viagra uk, ztbd, cheap viagra from india, 238848,

ttpHOTXsqKiQYTgHINc

universiteit, men viagra tablets, 069792, cheap viagra in usa, 374, viagra 100mg, 30067,

ROrrboGgrKTTz

wNTdCAwVyMvW

varosok, generic cialis india, 634604, cialis 10 mg, 94929,

CyWBADjiykR

tuorekelmuun, cialis description, 8-(, cialis preis, 03685,

jNIkuOkTjTz

QWjxTENZECzMILwmJFi

storskalig, acheter cialis, 785742, cialis 5 mg, 066,

vjqgEFydQpdjI

gjort, cialis kaufen, 8-), comprar cialis, =-)),

DkhOSlWQYODzq

EBkzuidBltwW

xFbBBHQlTgrSuatJu

IOCZIQjOOrfYsnqnJkW

invanarna, viagra generico, zfwo, buy viagra uk online, mbmmg,

eqRvCCoCcrNZNqeLdl

pDbEXbARcb

ZPzcWKZtbSrpbJSJPC

samlede, viagra france, tnz, achat viagra, cfw, viagra femme, uvwj,

NEigzpAEqgY

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.