From: "James S. Rogers" <jimmaureenrogers@worldnet.att.net>
Subject: Re: Giving a package specification access to the private types of another package
Date: Tue, 10 Dec 2002 14:37:32 GMT
Date: 2002-12-10T14:37:32+00:00 [thread overview]
Message-ID: <M_mJ9.53337$hK4.4591912@bgtnsc05-news.ops.worldnet.att.net> (raw)
In-Reply-To: at4sfs$m2r$2@pegasus.csx.cam.ac.uk
"Steven Murdoch" <news01+Steven.Murdoch@cl.cam.ac.uk> wrote in message
news:at4sfs$m2r$2@pegasus.csx.cam.ac.uk...
> In article <slrnavbse4.5r4.randhol+news@kiuk0152.chembio.ntnu.no>,
> Preben Randhol <randhol+news@pvv.org> writes:
> >make A a child package of B
>
> It already is, but I have the same problem. I think if A is a child of
> B then the body of A can see the body of B, but the public specification
of
> A cannot see the body of B (which is what I need).
>
> One of the functions in A takes in a parameter of type C, where C
> is declared in the private part of B. This function is not used
> anywhere other than the body of B.
You clearly have a poor organization. Try to think a bit more about
modularity when designing packages. Either A and B should be
merged into a single package, or pieces of A and B should be
moved from one package to the other.
Jim Rogers
next prev parent reply other threads:[~2002-12-10 14:37 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-10 13:51 Giving a package specification access to the private types of another package Steven Murdoch
2002-12-10 13:53 ` Preben Randhol
2002-12-10 14:07 ` Steven Murdoch
2002-12-10 14:37 ` James S. Rogers [this message]
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
-- strict thread matches above, loose matches on Subject: below --
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-11 5:51 Grein, Christoph
2002-12-11 19:22 ` Jeffrey Carter
2002-12-12 7:14 Grein, Christoph
2002-12-12 17:01 ` Jeffrey Carter
2002-12-13 20:25 ` 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