behavioral-patterns-encapsulate-variation

Status: IN

Behavioral patterns encapsulate variation by defining an object for the frequently changing aspect: Strategy encapsulates an algorithm, State encapsulates state-dependent behavior, Mediator encapsulates protocol between objects, and Iterator encapsulates aggregate traversal.

Source: entries/2026/06/17/gof-oo-chunk-22.md

Depended on by

JSON