Design Patterns

Decorator Pattern

The decorator pattern explained: wrap an object in layers that share its interface to add logging, checks or formatting at runtime, without editing the class.

  • 7 min read
  • 5 questions
  • +35 XP

What should we explain next?

Got a concept you want explained with cats? Tell us.

All videos