Rubber Duck Debugging
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
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 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/3Practice this model in one real situation:
account_treeGenealogyexpand_more
menu_bookReferencesexpand_more
Source support: Explicit
- en.wikipedia.orghttps://en.wikipedia.org/wiki/Rubber_duck_debuggingverified
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS