In this inaugural post on my anti-pattern series, Defeating the Anti-Pattern Bully, I talk about singletons. Many blogs out there discourage the use of singletons and for the most part, I agree. However, that doesn't mean that they don't have their merits. Here, I'll show you where you should probably use them and why so many people say you shouldn't.
Viewing entries tagged