Re: viewpoints and multiple inheritance.
At 17:43 +0200 8-06-2000, Markus Pilzecker wrote:
> > I definitely agree on allowing multiple inheritance in general, but
> > some caution is needed with different viewpoints. I am not sure what
> > Pat had in mind here, but suppose that a castle, for instance, is
> > seen as a kind of building under a certain viewpoint and as a bunch
> > of bricks under a different viewpoint. A possible way of modeling
> > this situation is by admitting that the concept "castle" specializes
> > both "building" and "bunch of bricks". Using IS-A links to represent
> > multiple views is indeed a common habit.
>1. I think, a single example cannot be sufficient to have an argument for
You are missing the point. Nicola's argument was actually not an
argument for multiple inheritance, but against a common mistaken
usage of it. This point is too subtle for so many people that it is
a powerful reason to eliminate multiple inheritance.
Christopher A. Welty Professore Visitatore
Corso Stati Uniti, 4 Voice: +39 049 8295783
I-35127 Padova Fax: +39 049 8295763