Code needs access to an object but doesn't need a global point of access to it.
Move the Singleton's features to a class that stores and provides access to the object. Delete the Singleton.
© 1996-, Industrial Logic, Inc. All Rights Reserved.
Home | Coaching | Training | eLearning | Blog | About | Contact
Facebook Twitter LinkedIn