On 10/7/07, Sylvain Joyeux <sylvain.joyeux / polytechnique.org> 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