comp.lang.ada
 help / color / mirror / Atom feed
* Child packages [nn,pedo,incest,cons
@ 1994-10-14 16:16 firth
  1994-10-14 14:13 ` eachus
  1994-10-16 23:54 ` Matt Kennel
  0 siblings, 2 replies; 3+ messages in thread
From: firth @ 1994-10-14 16:16 UTC (permalink / raw)


Subject: Child packages [nn,pedo,incest,cons]

In article <1994Oct14.094121@di.epfl.ch> Robb.Nebbe@di.epfl.ch (Robb Nebbe) writes:

>|>    The private part and body of any child can access the private part of
>|>    its parent (and grandparent...).

In principle, any mechanism that allows one to extend an abstraction
also allows one to break it.  That's a hard choice for the language
designer to make.

However, let's remember that there are tools other than compilers,
and you don't have to rely on the compiler to enforce *all* your
good programming habits.  It is still possible for an organsation
that prefers the Ada 83 style to prohibit the creation of child
packages, and this could be enforced by the development system,
just as specific local standards concerning Use clauses or Unchecked
Programming can be enforced.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1994-10-16 23:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1994-10-14 16:16 Child packages [nn,pedo,incest,cons firth
1994-10-14 14:13 ` eachus
1994-10-16 23:54 ` Matt Kennel

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