Other than that it smells like a variation of the singleton antipattern.
Reply on news.ycombinator.com