About the "Context" object, I've definitely seen applications that build elaborate Rube Goldberg contraptions to distribute resources to the places that need them. Good use of Singletons, and static scopes can help, but if you're passing something (a "Context" or an "Engine") through hundreds of method calls to get access to a resource in many places, you've got a problem.
Comments
paul_houle replied ago:
About the "Context" object, I've definitely seen applications that build elaborate Rube Goldberg contraptions to distribute resources to the places that need them. Good use of Singletons, and static scopes can help, but if you're passing something (a "Context" or an "Engine") through hundreds of method calls to get access to a resource in many places, you've got a problem.
Voters For This Link (13)
Voters Against This Link (3)