On Tue, 07 Jan 2003 12:21:48 +0100, Rafael Garcia-Suarez wrote:

> Delegation has drawbacks compared to inheritance : you can't use
> a object that delegates to class Foo where an instance of Foo is
> expected.

That sounds more like a problem with the polymorphism implementation than an
argument against delegation (or even mixins).  isa() considered harmful!

-- c

Reply via email to