Polymorphism
Version 1.0.0 · Updated 2026-07-28
CORE DEFINITION
Polymorphism means that a single interface can be carried by different implementations, and the system can dynamically select which concrete behavior to execute at runtime. Its scaffolding value is designing for flexibility: it reserves room for change rather than hard-coding one specific implementation, so new variants can be added without rewriting the interface.
SCAFFOLDING EFFECT
Reduce cognitive load
- Design for flexibility: reserve room for change rather than hard-coding one specific implementation. - Swap behavior at runtime: let the system choose which concrete implementation to execute behind one interface.
Anchor fast decisions
Polymorphic composition leverages object-oriented polymorphism to encapsulate behavioral differences as replaceable implementations, combined at runtime. The mechanism is that the same interface has multiple forms, enhancing extensibility and decoupling.
MINIMUM ACTION
In progress 0/1Practice this model in one real situation:
account_treeGenealogyexpand_more
menu_bookReferencesexpand_more
Source support: Explicit
- en.wikipedia.orghttps://en.wikipedia.org/wiki/Polymorphismverified
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