Re: [g-a-devel]Registry.idl and aggregation



Michael Meeks wrote:
> 
> On Wed, 12 Dec 2001, Bill Haneman wrote:
> > (b)
> >          interface Registry : DeviceEventController,
> >                               EventListener {
> >          };
> 
>         Multiple inheritance is not, repeat _not_ an option - it is
> deliberately discouraged by Bonobo - since we ill be moving to a mandatory
> single inherited mode. Furthermore it doesn't fit into the conceptual
> model, is the antithesis to an interface aggregation approach and
> essentialy should not happen.

You used the example in (c) [with changed names] in a previous reply, I
wanted clarification on whether you for some reason thought that was
better than the current model.

-Bill

>         This is a, far far worse direction to go in. As I keep saying,
> like a broken record - the correct soln' is aggregation - perhaps with
> accessors if you're worried about the documentation aspect. I don't know
> what makes you think I might not know what I'm talking about on this.

It makes no sense to me to have to use either an accessor or interface
query in order to send a notification to the central accessibility
registry.  That is one of its primary functions, in other words one of
the definitions of what the "registry" is about.

Clearly aggregation has its place, and we make heavy use of it.  That
doesn't make it the right answer to every question, surely ;-)

-Bill

>         Regards,
> 
>                 Michael.
> 
> --
>  mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]