When discussing which patterns to drop, we found that we still love them all. (Not reallyâIâm in favor of dropping Singleton. Its use is almost always a design smell.)
The Singleton is the most hated design pattern in the (rather limited) history of design patterns. That said, however, it doesnât mean you shouldnât use the Singleton: a toilet brush is not the most pleasant device either, but sometimes it is simply necessary.
The Singleton design pattern grew out of a very simple idea that you should only have one instance of a particular component ...