I have read and re-read the suggestion from Dr. Eachus regarding
the problem of "with" clauses in sub-units.  I agree with the
need to control coupling and reduce dependencies.  One way to
reduce dependencies is to push the context clause to the level
of source code where it is required.  If the context clause is
specific to the implementation of a subunit, why would it be
coded for the entire package body?  If the goal is to reduce
dependencies, then only the subunit needs to be re-compiled when
the unit on which it depends is re-compiled.

I know I must have misunderstood the counsel in the original message
in which subunit context clauses was referenced.

Richard

Richard Riehle
[log in to unmask]
AdaWorks Software Engineering
Suite 30
2555 Park Boulevard
Palo Alto, CA 94306
(650) 328-1815
FAX  328-1112
http://www.adaworks.com