title: What are some good uses of the Singleton pattern? Is it ever acceptable?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/86582/singleton-how-should-it-be-used">Singleton: How should it be used</a>  </p>
  </blockquote>
  
  
  
  <p>I've read that singletons are bad. For instance, it makes the code hard to test. Are there any acceptable uses of singletons?</p>