comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pogner.demon.co.uk>
Subject: Re: pointers & OOP
Date: 1999/05/08
Date: 1999-05-08T00:00:00+00:00	[thread overview]
Message-ID: <x7vbtfw6qbd.fsf@pogner.moho> (raw)
In-Reply-To: yuX0TCA7JbM3EwQL@jr-and-assoc.demon.co.uk

John Robinson <john@jr-and-assoc.demon.co.uk> writes:

> Agreed.  Similarly for "support" types, i.e. those built merely to
> support the declaration and/or use of the main type.  In the Booch
> component is the arc a support type or an entity in its own right? 
> The key factor (for me - and I am sure that I will get shouted at for
> saying this) is that if a type is associated with behaviour then this
> behaviour should be physically implemented in a dedicated, cohesive
> package.  

Well, in the general case I wouldn't quarrel. Just, absolute rules are
a Bad Thing, and there should always be a waiver mechanism!

In the BC.Graph case, it's clear that Graph, Arc and Vertex are
different things that must cooperate intimately to achieve the
purpose. I don't propose to second-guess Grady on this design. Just
one point -- in this case, of course child packages wouldn't be the
logical answer, because the behaviours of the three types are very
different.




  reply	other threads:[~1999-05-08  0:00 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-01  0:00 pointers & OOP Matthew Heaney
1999-05-01  0:00 ` Matthew Heaney
1999-05-03  0:00 ` John Robinson
1999-05-03  0:00   ` Samuel Mize
1999-05-04  0:00     ` Martin C. Carlisle
1999-05-04  0:00     ` Robert Dewar
1999-05-04  0:00   ` Robert Dewar
1999-05-04  0:00     ` Mike Silva
1999-05-05  0:00     ` Francois Godme
1999-05-05  0:00     ` John Robinson
1999-05-05  0:00       ` Robert Dewar
1999-05-08  0:00         ` Ehud Lamm
1999-05-05  0:00       ` Robert Dewar
1999-05-05  0:00         ` John Robinson
1999-05-06  0:00           ` Brian Rogoff
1999-05-07  0:00             ` dennison
1999-05-07  0:00               ` Brian Rogoff
1999-05-10  0:00                 ` dennison
1999-05-11  0:00                   ` Jean-Pierre Rosen
1999-05-11  0:00                     ` dennison
1999-05-10  0:00             ` John Robinson
1999-05-14  0:00               ` Matthew Heaney
1999-05-14  0:00                 ` David Botton
1999-05-14  0:00           ` Matthew Heaney
1999-05-14  0:00             ` Ed Falis
1999-05-05  0:00       ` Matthew Heaney
1999-05-06  0:00       ` Tom Moran
1999-05-06  0:00         ` John Robinson
1999-05-06  0:00           ` Tom Moran
1999-05-07  0:00             ` dennison
1999-05-07  0:00             ` dennison
1999-05-07  0:00             ` dennison
1999-05-10  0:00             ` John Robinson
1999-05-14  0:00         ` Matthew Heaney
1999-05-06  0:00       ` Simon Wright
1999-05-06  0:00         ` John Robinson
1999-05-08  0:00           ` Simon Wright [this message]
1999-05-10  0:00             ` John Robinson
  -- strict thread matches above, loose matches on Subject: below --
1999-05-01  0:00 Tom Moran
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox