comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <jrcarter@acm.org>
Subject: Re: Giving a package specification access to the private types of another package
Date: Thu, 12 Dec 2002 17:01:41 GMT
Date: 2002-12-12T17:01:41+00:00	[thread overview]
Message-ID: <3DF8C169.9020309@acm.org> (raw)
In-Reply-To: mailman.1039677721.8420.comp.lang.ada@ada.eu.org

Grein, Christoph wrote:
>>Perfect? That's a bit strong. It's a good design, but as given, I think 
>>that putting Foobar in B (perhaps with "is separate") is as good.
> 
> I beg to differ. For this tiny example, you're right. But IIRC, the OP said that 
> his package B.A was quite big and held a big part of the implementation stuff of 
> B. Then child packages are the "perfect" design because you can split one big 
> body (B) is several smaller children dedicated to specific subproblems.

My recollection is that Foobar was large and A existed simply to make 
Foobar separate from B, in which case putting Foobar in B and making it 
separate still seems just as good. If it's A that's large and Foobar is 
only part of it, then a private package is probably better.

-- 
Jeff Carter
"If a sperm is wasted, God gets quite irate."
Monty Python's the Meaning of Life




  reply	other threads:[~2002-12-12 17:01 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-12  7:14 Giving a package specification access to the private types of another package Grein, Christoph
2002-12-12 17:01 ` Jeffrey Carter [this message]
2002-12-13 20:25   ` Steven Murdoch
  -- strict thread matches above, loose matches on Subject: below --
2002-12-11  5:51 Grein, Christoph
2002-12-11 19:22 ` Jeffrey Carter
2002-12-10 14:27 Grein, Christoph
2002-12-10 14:46 ` Steven Murdoch
2002-12-10 15:08   ` John Cupak
2002-12-10 15:31     ` Steven Murdoch
2002-12-10 13:51 Steven Murdoch
2002-12-10 13:53 ` Preben Randhol
2002-12-10 14:07   ` Steven Murdoch
2002-12-10 14:37     ` James S. Rogers
2002-12-10 14:54       ` Steven Murdoch
2002-12-10 15:54         ` Robert A Duff
2002-12-10 16:58           ` Steven Murdoch
2002-12-11  2:43             ` SteveD
2002-12-10 19:42     ` Stephen Leake
2002-12-10 14:36   ` Steven Murdoch
replies disabled

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