8 min read

Object-Oriented Design Patterns in Python - The Decorator Pattern

Dynamically add behaviors to objects without inheritance. We’ll distinguish between the GoF structural pattern and Python’s powerful @decorator syntax for logging and caching.
Object-Oriented Design Patterns in Python - The Decorator Pattern
Reader: Python Decorator Pattern

Reader Mode

-- / --

Introduction