I don't have a solution but I admire the problem
Mar 9 2007
This is a very well written post from one of the Readify boys about the overuse of the Singleton pattern. Food for thought. I should look at whether the places I have used singletons is appropriate.
Tags:
Comments (1)
Related posts
Comments
Thanks Rory That's great praise indeed considering I wrote it at midnight last night after WAY too little sleep during the week. I'm amazed I managed any kind of punctuation at all! I suspect that Micah will help you to understand the psychedelic effects of sleep deprivation... (Great picture, BTW) I guess the message I forgot to add at the end is that a pattern is not just a building block - it's guidance that helps you decide whether you need to employ a singleton. We all tend to absorb the design aspects of patterns, and forget the deciding factors that suggest whether it's a good idea or not. Andrew
Add comment
I am a .Net developer living in Canberra, Australia, with my wife and family.