Stub
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
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 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/4Practice this model in one real situation:
account_treeGenealogyexpand_more
menu_bookReferencesexpand_more
Source support: Explicit
- en.wikipedia.orghttps://en.wikipedia.org/wiki/Stubverified
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