singleton-registry-for-subclass-selection

Status: IN

A Singleton registry approach maps string names to singleton instances, allowing Instance() to look up the desired singleton by name (e.g., from an environment variable), decoupling it from knowing all possible Singleton subclasses.

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

Depended on by

JSON