[Python-3000] PEP 3100 Comments
Bill Janssen
janssen at parc.com
Wed May 10 19:12:47 CEST 2006
> >> this approach doesn't do anything beyond what Java does
> >
> >Actually, it does. It lets you inherit behavior, as well as interfaces.
>
> It only lets you inherit behaviour to new subclasses
Not that it matters, but... Yes, that's right. In systems like
these, that's how you "add functionality to already existing classes";
you mix them with the new functionality into a new type.
Bill
More information about the Python-3000
mailing list