Error!
Success!

Singletons Revisited

0
kicks

Singletons Revisited  (Unpublished)

OK, so maybe singletons are not the pure evil suggested earlier. While useful, the usual implementation of the pattern requires exposing an Instance member to enforce the singleton semantics. An alternative shown in this article allows singletons to appear and act more like static classes and hides the implementation from the caller.


Kicked By:
Drop Kicked By: