Re:From STUPID to SOLID Code!
by jamesaguilar on Tuesday July 30, 2013 @12:13PM
(#6127944)
The only other case I can think of is when the object represents a true hardware resource (e.g. a flash queue controller). Although even that doesn't technically need to be a singleton. Another case where I've used one is when I'm caching channels to other servers created by a factory function.
[ Parent
| on HN ]
There are no comments on this comment yet.