From: RRACINE@ADA20.ISI.EDU (Roger Racine)
Subject: US\bsing use clauses
Date: Thu, 7-Aug-86 15:11:51 EDT [thread overview]
Date: Thu Aug 7 15:11:51 1986
Message-ID: <8608071931.AA19555@ucbvax.Berkeley.EDU> (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.
-------
reply other threads:[~1986-08-07 19:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox