When to choose to use a singleton
89 days ago
Singletons are a lonely bunch. I’m not talking about romantic attachments; the much maligned Singleton pattern is a barb in the flesh of many compsci denizens. When once it was so popular, confident coders now cringe in self-doubt at the sight of a getInstance() method.
Nerdiness rating for this post: 4/5
...read more