Jump to content

  • Log In with Google      Sign In   
  • Create Account

The Singleton Pattern: To be or not to be [used]?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
80 replies to this topic

#81 mhagain   Crossbones+   -  Reputation: 7965

Like
2Likes
Like

Posted 14 November 2012 - 08:13 AM

This one is also worth reading: http://tech.puredanger.com/2007/07/03/pattern-hate-singleton/

Cool quote:

First, it is important to separate the “need for one of something in my system” from the “singleton pattern”. It’s perfectly reasonable to want one of something but to avoid using the singleton pattern. In other words, the problem is in the pattern, not in the goal.


It appears that the gentleman thought C++ was extremely difficult and he was overjoyed that the machine was absorbing it; he understood that good C++ is difficult but the best C++ is well-nigh unintelligible.


Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS