Thanks for the ref.
One thing about using delegation for something like Chain of Responsibility: If you've delegated to a parent and that parent has its own methods and state, then that parent may want to have self refer to the parent instead of the original receiver in order that there are no unintended naming conflicts with other parents of the receiver or the receiver itself. How is this normally dealt with?
On Friday, January 3, 2003, at 01:24 PM, Jecel Assumpcao Jr wrote:
You might want to search the archives of this list for "design patterns". There were several interesting discussions, including the one starting at http://groups.yahoo.com/group/self-interest/message/841 and http://groups.yahoo.com/group/self-interest/message/882