I think explaining delegation, interfaces, and especially Traits and roles in terms of inheritance is bound to confuse people.
There are two questions that any of these schemes has to answer:
Inheritance is one way to answer both questions. Composition and delegation are others. There is some overlap, but there doesn't have to be. Polymorphism is much, much more important than inheritance.
In reply to Re: Object Terminology
by chromatic
in thread Object Terminology
by stvn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |