tl;dr Patterns, 20 Years Later: Decorators are ...

Problem

Context

Solution

Some questions arise out of this:

Implementations

Consequences

A Decorator tends to lead to several consequences:

Variations

A couple of different takes on the Decorator include:

Last updated: 25 February 2022

Tags: pattern   structural