There has been a lot of discussion lately about the problems with using (and overusing) Singletons. I've been one of those people earlier in my career too. I can see what the problem is now, and yet, there are still many cases where I can't see a nice alternative - and not many of the anti-Singleton discussions really provide one. Here is a real example from a major recent project I was involved i
![So Singletons are bad, then what?](https://cdn-ak-scissors.b.st-hatena.com/image/square/3c437216209db3b0103c3276a08ac33ec3c0a00c/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Fsoftwareengineering%2FImg%2Fapple-touch-icon%402.png%3Fv%3D1ef7363febba)