PrestonLee.com - Singletons Cause Cancer(prestonlee.com)
submitted by
dalziel(6230) 5 years, 6 months ago
Singletons can be hazardous to your health, seriously jeopardize your family’s safety, and have been classified as “terrorist patterns” by the U.S. government. The fact that an application only needs one instance of something does not mean the object should be designed that way, and there aren’t very many scenarios where singletons are appropriate. Do as the Jedi do and use them with consideration and responsibly.
|category: Patterns
|Views: 2
tags:
Singleton pattern another
Everyones tags:
Your Tags: