Pair Programming Markers

Ward And Kent lead a BOF at OOPSLA'97 that included looking for patterns in the code and in the recorded dialog between programmers as they work together. These are the patterns they found ...

Let me drive. (One of the idioms of pair programming)

x - 1 // n + 1 (Fence Post Errors?)

inject:into:

role suggesting variable name.

trust me. (Sometimes you have an idea for how to do something, but not the words to explain it. "Trust me" gives you a couple of minutes to type it in without your partner stopping you.)

look where you would write it. (When looking to see whether a method you need already exists, look in the place you would put it if you had to write it.)

Ask The Computer. (Don't reason about what will happen if you do X. Do X and see what happens. Send the message and see what it does.)

multiple pens.

Contributors: Michael Feathers, Katy Mulvey, and others.