From: Pat Maddox Date: 2007-10-08T00:17:54+09:00 Subject: Re: The Case for Multiple-Inheritance On 10/7/07, Sylvain Joyeux wrote: > > Delegation does not mean duck typing. You are confusing your > > terminology. > Tell me if I'm wrong, but from a type point of view, delegation is only > usable in the context of duck-typing. If you don't think as 'my type is > defined as what messages I'm able to answer to', then you cannot replace > one object with one delegator since they won't have the same type. > -- > Sylvain Joyeux > > What? Half of the Design Patterns book is about how to use composition & delegation instead of inheritance. Pat