By bloid
via googletesting.blogspot.com
Published: Jul 23 2008 / 14:01
By bloid
via googletesting.blogspot.com
Published: Jul 23 2008 / 14:01
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)