Singleton

How do you provide global variables in languages without global variables? Don’t. Your programs will thank you for taking the time about design instead.

Beck, in Test-Driven Development By Example.

The best Singleton pattern definition I have seen so far.
Advertisements