3 ms·
> How is that not a singleton? The way it is normally used, a singleton is a self-managing, globally accessible, single-instanced object (lazy or not). Just ha
by masklinn 13y ago
> How is that not a singleton?
The way it is normally used, a singleton is a self-managing, globally accessible, single-instanced object (lazy or not). Just having a single instance does not a singleton make.
- taeric 13y agoSo the complaint is against the implementation detail of a singleton? Because, just having a single instance is the crux of the benefit for that pattern.