Can the Singleton be replaced by Factory?
- by lostiniceland
Hello Everyone
There are already quite some posts about the Singleton-Pattern around, but I would like to start another one on this topic since I would like to know if the Factory-Pattern would be the right approach to remove this "anti-pattern".
In the past I used the singleton quite a lot, also did my fellow collegues since it is so easy to…