ObjectAlgebras

From APIDesign

Jump to: navigation, search

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 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.

Personal tools