M
Mike Fechner
Guest
Singletons require something like that. What’s your use case? There may be more elegant solutions than a singleton. A singleton combines implementation and registry. A caller needs to know the implementing class. ☹ Singletons are not mockable when unit-testing etc.. For many use cases something like the CCS Service Manager is a better solution.
Continue reading...
Continue reading...