Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M0317

Decorator Pattern

Decorator Pattern
CreateHigh supportDesign Thinking
Included
account_tree

Version 1.0.0 · Updated 2026-07-30

CORE DEFINITION

Dynamically add extra responsibilities or functions to an object without changing its original structure. It's like adding a filter to a photo; the photo itself remains unchanged.

SCAFFOLDING EFFECT

psychology

Reduce cognitive load

Painless upgrade. Don't try to change a person's essence (core code). Instead, endow them with new abilities through 'decoration'. For example, equip an introverted employee (core) with a detailed communication SOP (decorator) so they can handle external communication without being forced to become extroverted.

anchor

Anchor fast decisions

Decorator is a GoF structural pattern that dynamically adds responsibilities to an object without changing its class, offering more flexibility than inheritance.

MINIMUM ACTION

In progress 0/3

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

RELATED MODELS