Posts Tagged ‘Factory’
Singletons And Shared Instances
Given the popularity of the Singleton design pattern, how comes that some developers decry it as an “anti-pattern”? Can it really be that bad?
This article explains the rationale of why it can indeed be that bad and provides alternative approaches that should be used instead.