mediator-abstraction-optional-validates-judgment-over-mechanism

Status: IN

Mediator's option to omit the abstract Mediator class when only one concrete mediator exists — because abstract coupling is unnecessary without variation — concretely validates the principle that patterns should not be applied indiscriminately: the pattern's own documentation acknowledges that its full mechanism is unnecessary when the flexibility it provides isn't needed.

Justifications

Mediator's optional abstraction and Strategy's awareness drawback both validate judgment over mechanical application

Depends on (SL): mediator-abstract-class-optional-single-concrete, strategy-drawback-validates-judgment-necessity

Depended on by

JSON