Refactoring 018 - How to Replace a Singleton
Breaking Free from the Evil Singleton
TL;DR: Refactor singletons to reduce coupling
Problems Addressed
High coupling
Difficult testability
Multi-threading issues
Related Code Smells
https://hack...