All glossary terms
Plan

Pair programming

Pair programming has two engineers at one workstation, alternating between driver (typing) and navigator (reviewing, suggesting, thinking ahead). Practiced widely at Pivotal, Thoughtworks, and other XP-heritage organisations. Code emerges code-reviewed by default.

Pairing's reputation for being slow doesn't survive contact with the data — pairs typically deliver fewer lines per hour but with substantially fewer defects, less rework, and faster team-wide knowledge spread. The practice doesn't suit every workflow (deep focus tasks, exploratory spikes), but for production code it's well-supported by research. Variants: ping-pong pairing (driver writes a test, navigator makes it pass, swap), strong-style pairing (idea must pass through other person's keyboard).

Related terms