comp.lang.ada
 help / color / mirror / Atom feed
* US\bsing use clauses
@ 1986-08-07 19:11 Roger Racine
  0 siblings, 0 replies; only message in thread
From: Roger Racine @ 1986-08-07 19:11 UTC (permalink / raw)



   If currently available compilers came with cross reference listers,
it would not be a problem reading listings that use "use" clauses. Lacking
this, our project had a "do not use 'use'" rule. In a number of places, we
did use the "renames" facility to be able to use operators in the normal
manner (X := A + B). We also used the same facility to shorten names.
   Everyone who came to me with the question of "how do I get operators?"
was upset about the need to write a "renames" statement for each operator.
However, tracing problems to the correct package was made much easier
than if "use" had been used (from experience on another program).
   Without tools, Ada(r) is a pain to write, but a joy to debug. With
appropriate tools, the pain can be diminished.
   I also agree with everyone else that "use" clauses and "renames" 
should be used at the lowest possible level.
-------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1986-08-07 19:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1986-08-07 19:11 US\bsing use clauses Roger Racine

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