"There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies and the other is to make it so complicated that there are no obvious deficiencies". C.A.R. Hoare
Nice comparison of your options for creating a Singleton that is thread safe and pointing out what not to do.
http://www.yoda.arachsys.com/csharp/singleton.html
Posted in Architecture and Design |Comments [1]
Sysknowlogy