DMaPProcess
DMaP

Pair Programming Working Together for Better Code

Word count: 287

What is it?

Pair programming is an agile software development technique in which two programmers work together at one workstation. One, the driver, writes code while the other, the observer or navigator, reviews each line of code as it is typed in. The two programmers switch roles frequently.

Why is it useful?

Programmers working in pairs usually produce shorter programs, with better designs and fewer bugs , than programmers working alone. Studies have found reduction in defect rates of 15% to 50%, varying depending on programmer experience and task complexity. Pairs typically consider more design alternatives than programmers working alone, and arrive at simpler, more-maintainable designs; they also catch design defects early. Pairs usually complete work faster than one programmer assigned to the same task. Pairs often find that seemingly “impossible” problems become easy or even quick, or at least possible to solve when they work together.

How do I use it?

Write a program using the pair programming method. The driver, writes code while the other, the observer or navigator, reviews each line of code as it is typed in. Switch roles frequently.

0 0

Leave a comment ⇕

Leave a Reply

Your email address will not be published. Required fields are marked *