factory-method-technique-spectrum-mirrors-reuse-trajectory

Status: IN

Factory Method's three implementation techniques — standard subclass override (inheritance), parameterized method with parent delegation (selective override), and C++ template parameterization (no subclassing) — form a spectrum from inheritance-heavy to inheritance-eliminating that mirrors the GoF's broader trajectory from inheritance toward composition and parameterization.

Justifications

Three orphaned Factory Method techniques form a spectrum recapitulating the inheritance-to-composition shift within a single pattern

Depends on (SL): factory-method-parameterized-uses-product-id, factory-method-parameterized-subclass-can-delegate-to-parent, factory-method-templates-avoid-subclassing

repair: linked The GoF patterns exhibit a broader directional tra

Depends on (SL): factory-method-parameterized-uses-product-id, factory-method-parameterized-subclass-can-delegate-to-parent, factory-method-templates-avoid-subclassing, factory-method-uses-inheritance-abstract-factory-uses-composition

JSON