The singleton design pattern in D, C++ and Java
Nick Sabalausky
a at a.a
Fri Jul 16 14:00:32 PDT 2010
"Jonathan M Davis" <jmdavisprog at gmail.com> wrote in message
news:mailman.366.1279305632.24349.digitalmars-d at puremagic.com...
>
>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 information about the Digitalmars-d
mailing list