Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M11605

Pair Programming

Pair Programming
CreateHigh supportDesign Thinking
Included
account_tree

Version 1.0.0 · Updated 2026-07-28

CORE DEFINITION

Pair programming is a 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.

SCAFFOLDING EFFECT

psychology

Reduce cognitive load

Pair programming is a 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.

anchor

Anchor fast decisions

In pair programming, the "driver" writes code while the "navigator" reviews architecture and potential pitfalls in real time, with roles rotating. The mechanism is continuous peer review that eliminates defects at the moment they are created, and immediate knowledge transfer reduces the "bus factor" risk. Although it appears to double the manpower, it actually offsets costs through less rework and faster onboarding.

MINIMUM ACTION

In progress 0/4

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%
account_treeGenealogyexpand_more
menu_bookReferencesexpand_more

Source support: Explicit

  • link
    en.wikipedia.orghttps://en.wikipedia.org/wiki/Pair_programmingZH · Explicit
    verified

RELATED MODELS