Our main() method should be replaced with the construction of a (singleton) Application object, with static accessors.
This application object would have (private) members for all of what we currently have globals for.
Log in to post a comment.