Link Details

Link 105944 thumbnail
User 111696 avatar

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?”
  • 4
  • 0
  • 116
  • 16

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (4)



Voters Against This Link (0)