←Older revision | Revision as of 05:41, 5 November 2024 | ||
Line 1: | Line 1: | ||
- | [[Singletonizer]] (called [[ | + | [[Singletonizer]] (called [[ObjectAlgebras]] in newer literature) is a simplification of [[Factory]] by use of [[Generics]]. It is very useful pattern for creating [[ProviderAPI]]. On the other hand, it is not that useful for [[ClientAPI]], as its use requires an [[OpenClass]] concept. [[Singletonizer]] is the simplest way to emulate [[Abstract Data Type]]s in [[OOP]] languages. |