How to Pair Program
Share everything. All contributions, whether great results and errors, are “ours”, not “yours” or “mine”.
Play fair. One person “drives” (has control of the keyboard or is recording design ideas) while the other is continuously reviewing the work and planning ahead. Stay fairly close to 50-50 on driving. Let the less experienced partner start and maybe drive a little more.
Don’t hit your partner. But make sure your partner stays focused and on-task.
Put things back where they belong. Put negative judgments in the trash: Be positive about you and your partner. For both, this is an opportunity to improve.
Clean up your mess. >Watch over the shoulder and you are really likely to find a large number of your errors!
Don’t take things too seriously. If your partner picks out a bunch of errors as you type, be glad. But do not always agree. Have healthy disagreement/debate. Finding the fine balance takes adjustment.
Say you’re sorry when you hurt somebody while moving furniture. Sit side-by-side and program, simultaneously viewing the computer screen and sharing the keyboard and mouse. Slide the keyboard — don’t move the chairs.
Wash your hands of skepticism before you start. Being skeptical can be a self-fulfilling prophesy. Buying in and “jelling” can lead to a whole that is greater than the sum of the parts.
Flush. If you work on some parts independently either discard them (flush) and start over together or have the partner very carefully review the work with you.
Warm cookies and cold milk are good for you. Periodically, taking a break is important for maintaining the stamina for another round of productive pair programming.
Be aware of the power of two brains. Experiences show that, together, a pair will come up with more than twice as many possible solutions than the two would have working alone. They will then proceed to more quickly narrow in on the “best” solution and will implement it more quickly and with better quality.
Visual Management Blog · Using information visualization to manage agile projects
compfight + a flickr™ search tool
Posted from Diigo. The rest of my favorite links are here.