tl;dr Dynamic Objects are closely connected in concept to Decorator and Strategy, but operates at both a more widespread (class- or object-wide) scope and finer level of detail (per-member).

Problem

Context

Solution

Some questions arise out of this:

Implementations

Consequences

A Dynamic Object tends to lead to several consequences:

Variations

A couple of different takes on the Dynamic Object include:

Last updated: 25 February 2022

Tags: pattern   structural