[Q] Why Squeak don't have a Singleton class ?
Lukas Renggli
renggli at gmail.com
Tue Dec 6 15:26:39 UTC 2005
Just to have given my 2 cents: often beginners tend to see and code
singleton classes everywhere, however in most cases this is not
necessary or even too restricting for future extensions in the
architecture. Personally I try to avoid Singletons whenever possible,
in my opinion it should not be used and is a code-smell in itself.
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the Squeak-dev
mailing list
|