Chapter 2. Pair Programming

This is a chapter for you to follow if you have a partner to pair with. If you do not have someone with whom you can work through this chapter, go find someone. Recruit a friend, work colleague, or a fellow student.

This chapter provides a series of exercises that encourage you and your partner to take turns in typing the code and thinking about the problems. This chapter emphasizes the benefit of programming with a buddy and how much fun this type of development can be. It also shows you how business benefits can be gained from development in pairs and how you might best promote these ideas to your organization.

As discussed in Chapter 1, pair programming is the practice of developing all production code with two developers ...

Get eXtreme .NET: Introducing eXtreme Programming Techniques to .NET Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.