Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M6311

Stub

Stub
StructureHigh supportLogic
Included
account_tree

Version 1.0.0 · Updated 2026-07-30

CORE DEFINITION

Temporary code used to simulate modules or external interfaces that have not yet been developed. It does not implement real functionality, but returns preset fake data to test the caller's logic. Scaffolding role: Scaffolding for modular advancement. When your work depends on others (because they haven't finished), don't wait. Write a "stub" (assume others have finished, return ideal results), and first get your own logic working. Don't let external blocking become your excuse.

SCAFFOLDING EFFECT

psychology

Reduce cognitive load

Scaffolding for modular advancement. When your work depends on others (because they haven't finished), don't wait. Write a "stub" (assume others have finished, return ideal results), and first get your own logic working. Don't let external blocking become your excuse.

anchor

Anchor fast decisions

A stub is a placeholder implementation for modules that are not yet implemented, returning fake data or no-op, allowing the system to be integrated and tested early. Placeholder enables parallelism.

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

RELATED MODELS