Design patternsSingleton


Remarks

The Singleton design pattern is sometimes regarded as "Anti pattern". This is due to the fact that it has some problems. You have to decide for yourself if you think it is appropriate to use it. This topic has been discussed several times on StackOverflow.

See: http://stackoverflow.com/questions/137975/what-is-so-bad-about-singletons