From: dale@cs.rmit.edu.au (Dale Stanbrough)
Subject: Re: Private Children
Date: 1999/06/22
Date: 1999-06-22T04:24:49+00:00 [thread overview]
Message-ID: <dale-2206991424480001@192.168.0.2> (raw)
In-Reply-To: 7kmoe4$o83@dfw-ixnews15.ix.netcom.com
Richard D Riehle wrote:
" Thanks Tucker. This is a good idea. Also, consider,
package P.Hidden_Level.Public_Level is
type some-type is tagged private;
-- some publicly exported services
private
...
end P.Hidden_Level.Public_Level ;
package body P.Hidden_Level.Public_Level is
-- implement exported services using the
-- private services in the hierarchy since
-- the body can see the private declarations
-- of parent its units.
end P.Hidden_Level.Public_Level;"
It's still a bit ordinary though. The services offered in the
public level can't rely on abstractions advertised in the private
section, which I see as the major failure of this model.
Dale
next prev parent reply other threads:[~1999-06-22 0:00 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-20 0:00 Private Children Matthew Heaney
1999-06-21 0:00 ` Ted Dennison
1999-06-21 0:00 ` Tucker Taft
1999-06-21 0:00 ` Matthew Heaney
1999-06-21 0:00 ` Tucker Taft
1999-06-22 0:00 ` Richard D Riehle
1999-06-22 0:00 ` Dale Stanbrough [this message]
1999-06-22 0:00 ` Matthew Heaney
1999-06-23 0:00 ` Dale Stanbrough
1999-06-23 0:00 ` Matthew Heaney
1999-06-23 0:00 ` Dale Stanbrough
1999-06-23 0:00 ` Richard D Riehle
1999-06-23 0:00 ` Vladimir Olensky
1999-06-23 0:00 ` Richard D Riehle
1999-06-24 0:00 ` Hyman Rosen
1999-06-24 0:00 ` Richard D Riehle
1999-06-23 0:00 ` John Duncan
1999-06-24 0:00 ` Dale Stanbrough
1999-06-22 0:00 ` Richard D Riehle
1999-06-21 0:00 ` Matthew Heaney
1999-06-25 0:00 ` Robert Dewar
1999-06-21 0:00 ` Dale Stanbrough
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox