From the course: Agile Software Development

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Pair programming

Pair programming

- Pair programming is one of the key practices of extreme programming. In pair programming, two developers sit at a computer terminal. One writes code while the other views the monitor. The second person constantly reviews the code as it is being developed, asks questions about the implementation, and assists the first developer with code suggestions. The two developers switch roles periodically and the process continues. When I was first introduced to pair programming, I had two major concerns. If two people are working on the same item at the same time, isn't this the equivalent of reducing our team size by 50%? And some people work more productively alone. Why do they need to have another person working with them? My mentor at that time explained that the benefits of pair programming far outweighed my concerns. Firstly, pair programming provides immediate and constant peer review feedback. As a result, code quality improves without the additional time usually spent on scheduled…

Contents