Hide Delegate

From CSSEMediaWiki
Revision as of 05:18, 28 August 2009 by Paul Williams (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A client is calling a delegate class of an object. Create methods on the server to hide the delegate.

HideDelagate.gif
One of the keys, if not the key, to objects is encapsulation. Encapsulation means that objects need to know less about other parts of the system. Then when things change, fewer objects need to be told about the change—which makes the change easier to make.

Additional Resources

SourceMaking.com

Personal tools