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: "Michael F. Yoder" Subject: Re: Elimination of "use" clauses Date: 1999/07/09 Message-ID: <378603D4.1DCFBE2D@decada.zko.dec.com>#1/1 X-Deja-AN: 499193517 Content-Transfer-Encoding: 7bit References: <377B5807.88B875E0@cs.york.ac.uk> <7lh74s$v36$1@nnrp1.deja.com> <377CE178.6C15F543@hso.link.com> <7ljbsu$ni7$1@nnrp1.deja.com> <7ltl2q$mog$1@nnrp1.deja.com> <3784DC54.6463EDCA@decada.zko.dec.com> <7m3foq$nuj@dfw-ixnews14.ix.netcom.com> Organization: Compaq Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-07-09T00:00:00+00:00 List-Id: Richard D Riehle wrote: > > In article <3784DC54.6463EDCA@decada.zko.dec.com>, > "Michael F. Yoder" wrote: > > >Not a strawman. The best ways of dealing with use clauses are what I > >call "Tony Tye" methods (since he devised the first one I used) and make > >package renamings a staple. > > This is a widely used technique. It does not completely solve the > use clause question. What problem are we trying to solve? Perhaps there is a difference in perception, or in experience, here. In my experience, the described method does in fact completely solve the problem of use clauses contributing to code obfuscation (for identifiers, and for all practical purposes). It does not, in my opinion, necessarily provide the best solution for operators. I'd prefer to have the two questions separated, and I have no strong opinions to contribute to the discussion about operators. On the project Tony Tye led, complaints about use clauses simply didn't occur after the method was introduced. I don't know of any instance in which introducing such a method led to a perceived reduction in readability, but perhaps those participating in this discussion can contribute some. :-)