command-dual-role-decoupling-and-state

Status: IN

Command uniquely serves a dual role in the GoF catalog: it is both a sender-receiver decoupling pattern (reifying requests as objects to parameterize invokers) and a state-capture pattern (storing request history for undo/redo alongside Memento's state snapshots) — bridging the behavioral and temporal dimensions of system design.

Justifications

Command appears in two depth-1 derivations (decoupling topology and state-capture family), confirming its dual role

Depends on (SL): command-memento-state-capture-family, four-decoupling-patterns-topology, command-encapsulates-request-as-object, command-undo-via-unexecute-and-history

Depended on by

JSON