From: peirce@claris.com (Michael Peirce)
Subject: Re: Limited Use Clause
Date: 7 Dec 88 01:43:08 GMT [thread overview]
Message-ID: <7311@claris.com> (raw)
In-Reply-To: 8812061626.AA13093@ajpo.sei.cmu.edu
In article <8812061626.AA13093@ajpo.sei.cmu.edu> rracine@AJPO.SEI.CMU.EDU writes:
>Yet again the "use" clause is maligned.
>
>That is beginning to be the same as the statement "Ada tasking is too slow."
>People have said it so long (since it used to be true) that it is accepted
>without any arguments. Why not use the unrestricted 'use'? The only
>reason I have heard that can not be refuted is that it makes it hard to tell
>where to find things in source code.
>allow one to find references to identifiers.
>
>I hope this generates some discussion.
>
>Roger Racine
>C. S. Draper Laboratory, Inc.
OK, I'll bite. The project I worked on had a "NO USES" rule. We did this
for readability and maintainability reasons. Having a routine referred to
as PKG.PROC made it perfectly unambiguous. It wasn't a matter of not having
cross references at the end of a listing (the DEC compiler we were using
had a way to get these). The only complaint we really heard from people
was about the "problem" with having to explictly rename the "=" operator
and such.
I'd support the "NO USES" rule on another Ada project without reservations.
-- michael
next prev parent reply other threads:[~1988-12-07 1:43 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
1988-12-06 16:26 Limited Use Clause rracine
1988-12-06 19:12 ` Steve Tynor
1988-12-07 1:43 ` Michael Peirce [this message]
1988-12-07 18:12 ` Stephe Leake
1988-12-09 13:58 ` Burch Seymour
1988-12-07 17:59 ` Stephe Leake
-- strict thread matches above, loose matches on Subject: below --
1988-12-17 21:56 Erland Sommarskog
1988-12-18 14:48 ` Dik T. Winter
1988-12-19 14:17 ` Steve Tynor
1988-12-10 23:13 Erland Sommarskog
1988-12-12 15:47 ` Steve Tynor
1988-12-05 23:39 Brian D. Nettleton @spot
1988-12-06 15:36 ` Steve Tynor
1988-12-07 17:54 ` Stephe Leake
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox