Tuesday, January 12, 2010

Singletonitis

Proposition A: proper OO design exploits polymorphism.

Proposition B: singletons inhibit polymorphism.

A & B imply Proposition C: proper OO design excludes singletons (in most cases).

No comments: