Skip to content
← Back to glossary

ペアプログラミングPair Programming

Learn in the textbookAgile Development and XP Practices

DefinitionPair programming (ペアプログラミング) is a way of developing in which two people sit side by side at one screen and write the same code while talking it through.

ExplanationThe person at the keyboard is the driver (ドライバー), and the one beside them who checks the work and thinks about direction is the navigator (ナビゲーター); they swap roles from time to time. Because a second person reads the code as it is written, mistakes are caught early, and knowledge and coding style spread across the team. It is one of the practices of XP.

AnalogyIt is like a rally car crew: the driver holds the wheel while the co-driver reads the map and calls out the route.

Memory hookA pair is two that go together, like shoes or gloves. Picture one desk with two chairs side by side.

Related past-exam questions(2 questions)