Archive: May 2016
1 post published in May 2016
A black and white figure's thought-hive
1 post published in May 2016
Singleton.Instance.SelfDestruct();

No, I’m not talking about those that can’t find someone to be with. You’re ok in my book.
One of my favorite question to ask at technical interviews is “Can you tell me advantages and disadvantages of the singleton pattern?” I get varied responses, but while almost everybody can think of the advantages, nobody mentions the problems that come along with it. I’m going to quickly explain what singletons are and then roast them good.