Fixing the Singleton
When you ask people who know almost, but not completely nothing about patterns, about software design patterns, they probably bring up the singleton pattern. It’s extremely easy: Just make sure you have one single instance of a class. If you ask more experienced developers about the singleton, they will probably tell you its bad and [...]