This is an excerpt from The Art of Agile Development, Second Edition. Visit the Second Edition home page for additional excerpts and more!
This excerpt is copyright 2007, 2021 by James Shore and Shane Warden. Although you are welcome to share this link, do not distribute or republish the content without James Shore’s express written permission.
- Developers, Whole Team
We help each other succeed.
Do you want somebody to watch over your shoulder all day? Do you want to waste half your time sitting in sullen silence watching somebody else code?
Of course not. Luckily, that’s not how pair programming works.
Pair programming involves two people working at the same computer, at the same time, on the same thing. It’s one of the most controversial Agile ideas. Two people working at the same computer? It’s weird. It’s also extremely powerful and, once you get used to it, tons of fun. Most programmers I know who tried pairing for a month found that they preferred it to programming alone.
- Collective Code Ownership
More importantly, pair programming is one of the most effective ways to achieve collective code ownership and truly collaborate on code as a team.
...to continue reading, buy the book!
In this Section
- Pair Programming
- Why Pair?
- Pairing Stations
- How to Pair
- Effective Navigating
- Teaching Through Pairing
- Introversion and social anxiety
- Communication style
- Tools and keybindings
- Alternatives and Experiments
- Further Reading