Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M0895

Rubber Duck Debugging

Rubber Duck Debugging
StructureHigh supportLogic
Included
account_tree

Version 1.0.0 · Updated 2026-07-30

CORE DEFINITION

When the code doesn't work, find a rubber duck and explain to it, line by line, what your code is doing. Usually, halfway through the explanation, you will discover the bug yourself.

SCAFFOLDING EFFECT

psychology

Reduce cognitive load

- Output is input: When you have to transform vague thoughts into clear language (explaining to the duck), you force your brain to organize logic. When stuck, don't rush to ask others; first explain to the air.

anchor

Anchor fast decisions

The programmer explains the code step by step to a rubber duck, and in the process of 'teaching', they discover the problem themselves. It forces implicit assumptions to become explicit, using articulation to clarify logic.

MINIMUM ACTION

In progress 0/3

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/Rubber_duck_debuggingZH · Explicit
    verified

RELATED MODELS