Nick Sabalausky wrote: > "Jonathan M Davis" <[email protected]> wrote in message > news:[email protected]... >> >>Personally, I do use singleton from time-to-time and have found it quite >>useful. >>I wasn't aware that anyone thought that it was a bad idea. >> > > That was news to me too. My guess is that maybe there were a lot of people > using it for things that may have *seemed* appropriate for a singleton but > really weren't, like abstractions for the keyboard, mouse or screen/monitor.
More than that, singletons are often used as an 'object oriented' way of creating global variables, hence the bad reputation. http://www.c2.com/cgi-bin/wiki?SingletonsAreEvil
