Pair programming



         


Pair programming requires two software engineers to participate in a combined development effort at one workstation.

Each member performs the action the other is not currently doing: While one types in unit tests the other thinks about the class that will satisfy the test, for example.

The person that is doing the typing is known as the 'driver' while the person that is guiding is known as the 'navigator'. It is often suggested for the two partners to switch roles at least every half-hour.

Pair programming yields the following benefits, roughly ordered from largest benefit to smallest:

Studies have shown that after training for the "people skills" involved, two programmers are more than twice as productive as one for a given task. According to The Economist,

"Laurie Williams of the University of Utah in Salt Lake City has shown that paired programmers are only 15% slower than two independent individual programmers, but produce 15% fewer bugs. Since testing and debugging are often many times more costly than initial programming, this is an impressive result."
[Top]

See also

[Top]




  View Live Article   This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License