From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_20,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!nike!ucbcad!ucbvax!ADA20.ISI.EDU!RRACINE From: RRACINE@ADA20.ISI.EDU (Roger Racine) Newsgroups: net.lang.ada Subject: USsing use clauses Message-ID: <8608071931.AA19555@ucbvax.Berkeley.EDU> Date: Thu, 7-Aug-86 15:11:51 EDT Article-I.D.: ucbvax.8608071931.AA19555 Posted: Thu Aug 7 15:11:51 1986 Date-Received: Sat, 9-Aug-86 04:47:16 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet List-Id: 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. -------