[Q] Why Squeak don't have a Singleton class ?

Cees De Groot cdegroot at gmail.com
Fri Dec 2 23:35:02 UTC 2005


On 12/2/05, Lic. Edgar J. De Cleene <edgardec2001 at yahoo.com.ar> wrote:
> Trying to learn, I don't found a Singleton class in Squeak ( maybe exist
> whit another name ? )

The code you've posted is a pattern - if you have a class where you
want a singleton instance, you use this code in that class. There's no
need for a seperate class to handle this.



More information about the Squeak-dev mailing list