New page: When working on NetBeans and when writing TheAPIBook I invented pattern labeled Singletonizer. At that time (before 2008) there wasn't a lot of research on this topic. Now, fif...
New page
When working on [[NetBeans]] and when writing [[TheAPIBook]] I invented pattern labeled [[Singletonizer]]. At that time (before 2008) there wasn't a lot of research on this topic. Now, fifteen years later, there seems to be some academic papers (like [https://i.cs.hku.hk/~bruno/papers/toplas2021.pdf Compositional Programming]) and they call this kind of pattern '''Object Algebras'''.
As far as I can say the ''essential aspect'' of [[ObjectAlgebras]] is to avoid '''new''' - just like in case of [[Singletonizer]] and replace it with methods on the [[Singletonizer]]/Algebra class.
[[Category:APIDesignPatterns]]
[[Category:APIDesignPatterns:Creational]]
[[Category:APIDesignPatterns:Clarity]]