Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M8725

Polymorphism

Polymorphism
SystemsHigh supportSystems Theory
Included
account_tree

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

psychology

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

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/1

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

RELATED MODELS