YuNing's Thought

Home

❯

Notes

❯

Decorator Pattern

Decorator Pattern

Nov 05, 20231 min read

Decorator pattern

Not to be confused with the concept of “decorators” in Python.
Decorator pattern - Wikipedia
In object-oriented programming, the decorator pattern is a design pattern that allows behavior to be added to an individual object, dynamically, without affecting the behavior of other objects from the same class.


  • Python Decorator
  • Rust Macros

Graph View

Backlinks

  • C++ Static
  • Design Pattern
  • Python Flask

Created with Quartz v4.5.2 © 2025

  • GitHub
  • Discord Community