I am not trying to describe everything in terms of inheritance.
That may not be your aim, but that's precisely what your text does:
(Regarding Traits and Roles) To use our single inheritance model:
A Employee is-a Person.
A Manager is an Employee who has managerial traits.
Framing the entire discussion in terms of inheritance has the unfortunate tendency of emphasizing the second of my two questions above at the expense of the (more important) first question.
I'd much prefer discussing each of these techniques in relation to those questions.
In reply to Re: Re: Re: Object Terminology
by chromatic
in thread Object Terminology
by stvn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |