By bloid
via misko.hevery.com
Submitted: Aug 21 2008 / 16:04
In Singletons are Pathological Liars we discussed the problems of having singletons in your code. Let’s build on that and answer the question “If I don’t have singletons how do I ensure there is only one instance of X and how do I get X to all of the places it is needed?”
Add your comment