This post was archived on .
The content below may be out-of-date or otherwise superseded by another post.

For the longest time I've read books describing ways to implement the Singleton pattern. Many of these used some type of thread synchronization and was generally hacky. I've found the perfect solution and alternative.