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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3dbf2f325f33ce35 X-Google-Attributes: gid103376,public From: "Joe Wisniewski" Subject: Re: Elimination of "use" clauses Date: 1999/07/03 Message-ID: <931016222.255.99@news.remarQ.com>#1/1 X-Deja-AN: 496788864 References: <377B5807.88B875E0@cs.york.ac.uk> <7lh74s$v36$1@nnrp1.deja.com> <7lj9lb$mos$1@nnrp1.deja.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: newsabuse@remarQ.com X-Trace: 931016222.255.99 N7AUQTZVE0FD918EFC qube-01.us-ca.remarq.com Organization: Posted via RemarQ, http://www.remarQ.com - The Internet's Discussion Network NNTP-Posting-Date: Sat, 03 Jul 1999 15:37:02 GMT Newsgroups: comp.lang.ada Date: 1999-07-03T00:00:00+00:00 List-Id: Ed Falis wrote in message <7lj9lb$mos$1@nnrp1.deja.com>... >In article <7lh74s$v36$1@nnrp1.deja.com>, > Robert Dewar wrote: > > >> I don't know of a dotification tool, but it seems strange to >> claim that it is difficult and time-consuming to find out >> which package a procedure is from. That sounds like you are >> not using appropriate tools. Try using the EMACS interface >> to GNAT, and you can immediately go from any identifier to >> the declaration (and the proper package in which this >> declaration appears). This is actually much more useful in >> reading code, since you immediately find out not only what >> package the identifier is in, but you go to the declaration >> which shows you the details of what the identifier means. >> >> There are other tools that have this same capability. This >> seems pretty important functionality. There is also the gnatfind >> utility available with GNAT for providing this same kind of >> information in command line mode. > >I have to agree (strongly) with this comment. There's little reason these >days not to use such a browsing capability. This allows you to take >advantage of the benefit of use clauses: uncluttering the source text so you >can easily understand it logic and structure. With resolution of references >a click or two away, there's little excuse for long dotted-notation >references. > Just a rambling thought or two .... Yes and no.Too many organizations still do reviews off of hard-copy. Yes, they should and eventually will do the reviews on line, get comments to the author on line, etc. In these cases, the author is going to be told to get rid of the use clauses anyway. So, in practice, it is going to be a while before use clauses are accepted. Joe >- Ed Falis >Aonix > > >Sent via Deja.com http://www.deja.com/ >Share what you know. Learn what you don't.