state-creation-tradeoff-recapitulates-identity-spectrum

Status: IN

State's object creation tradeoff (create on demand and destroy vs. create all upfront and share) maps directly onto the Prototype-Flyweight identity spectrum: eagerly shared stateless State objects behave as Flyweights (maximally shared, intrinsic-only), while lazily created and destroyed State objects behave as independent instances — the same sharing-independence continuum manifesting within a single behavioral pattern's implementation choices.

Justifications

State's creation strategy choice recapitulates the identity spectrum from maximally shared to fully independent

Depends on (SL): gof-state-object-creation-tradeoff, prototype-flyweight-identity-spectrum-bounds-sharing-design-space

Depended on by

JSON