in reply to Re: single instance shared with module
in thread single instance shared with module
A singleton class makes sense only if you never want more than one instance of the class to exist. If you just need to share an instance, there is nothing stopping you from doing so and allowing multiple instances if you need them.
-sauoq "My two cents aren't worth a dime.";
|
|---|