On design patterns: When should I use the singleton?
The glorified global variable – becomes a gloried global class. Some say breaking object-oriented design. Give me scenarios, other than the good old logger where it makes sense to use the singleton. 22 s 22 On my quest for the truth I discovered that there are actually very few “acceptable” reasons to use a Singleton. … Read more