Pair Programming
Pair Programming
programming?
Pair programming is an Agile software development technique
originating from Extreme programming (XP) in which two developers
team together on one computer. The two people work together to design,
code and test user stories. Ideally, the two people would be equally
skilled and would each have equal time at the keyboard.
INTRODUCTION
• Pair programming is a collaborative effort that involves a lot of communication.
The idea is to have the driver and navigator communicate, discuss approaches and
solve issues that might be difficult for a single developer to detect.
• A common implementation of pair programming calls the programmer at the
keyboard the driver, while the other is called the navigator. The navigator focuses
on the overall direction of the programming. The collaboration between
developers can be done in person or remotely.
HOW DOES PAIR
PROGRAMMING
WORK?
• Pair programming requires two developers, one workstation, one keyboard
and a mouse. The pairings can be assigned or self-assigned.
• Pair programming uses the four eyes principle, which ensures two sets of eyes
review the code that is being produced, even when there is a division of labor.
While the driver writes the code, the navigator checks the code being written.
The driver focuses on the specifics of coding, while the navigator checks the
work, code quality and provides direction.
BENIFITS OF PAIR PROGRAMMING