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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10ad19,23963231b5359f74 X-Google-Attributes: gid10ad19,public X-Google-Thread: 107a89,23963231b5359f74 X-Google-Attributes: gid107a89,public X-Google-Thread: 103376,23963231b5359f74 X-Google-Attributes: gid103376,public X-Google-Thread: 11440e,23963231b5359f74 X-Google-Attributes: gid11440e,public X-Google-Thread: 1073c2,23963231b5359f74 X-Google-Attributes: gid1073c2,public X-Google-Thread: 10a146,23963231b5359f74 X-Google-Attributes: gid10a146,public X-Google-Thread: 101deb,23963231b5359f74 X-Google-Attributes: gid101deb,public X-Google-ArrivalTime: 2001-06-06 14:32:23 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.bc.home.com.POSTED!not-for-mail From: Roedy Green Newsgroups: comp.lang.ruby,comp.lang.ada,comp.lang.awk,comp.lang.clarion,comp.lang.java.programmer,comp.lang.pl1,comp.lang.vrml Subject: Re: Long names are doom ? Organization: Canadian Mind Products Reply-To: roedy@mindprod.com Message-ID: References: <3B177EF7.2A2470F4@facilnet.es> <9f8b7b$h0e$1@nh.pace.co.uk> <9f8r0i$lu3$1@nh.pace.co.uk> <9fgagu$6ae$1@nh.pace.co.uk> <9fjgha$blf$1@nh.pace.co.uk> <35mqhtkdfma2rggv1htcaq6vfn2ihs67a1@4ax.com> <3B1E1452.BAFAAB7F@baesystems.com> <3B1E4B93.7FB8A94D@lmtas.lmco.com> X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 06 Jun 2001 21:17:38 GMT NNTP-Posting-Host: 24.76.128.193 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.bc.home.com 991862258 24.76.128.193 (Wed, 06 Jun 2001 14:17:38 PDT) NNTP-Posting-Date: Wed, 06 Jun 2001 14:17:38 PDT Xref: archiver1.google.com comp.lang.ruby:10437 comp.lang.ada:8266 comp.lang.awk:2832 comp.lang.clarion:21247 comp.lang.java.programmer:74202 comp.lang.pl1:827 comp.lang.vrml:3568 Date: 2001-06-06T21:17:38+00:00 List-Id: On Wed, 06 Jun 2001 10:26:11 -0500, Gary Scott wrote or quoted : >While variable names should be "understandable" (you decide >what that means), the implication that >variables/procedure/class/member/etc names must be full english words is >a red herring. The really important thing is not having two similar variables/methods whose purposes could be easily confused. The problem usually comes from writing a method with a generic name, then later adding one with a minor variant. You probably need to globally rename the first method to make the distinction clear. Up until recently, most people considered global renaming infeasible. If we ever gets SCIDS, http://mindprod.com/scid.html, I think global renaming will tend to take over from scoping as the preferred way of avoiding ambiguity, since human brains don't have scoped memory banks. "i" will still remain the universal loop counter. This is not a human ambiguity problem. For more detail, please look up the key words mentioned in this post in the Java Glossary at: http://mindprod.com/gloss.html If you don't see what you were looking for, complain! or send your contribution for the glossary. -- Roedy Green, Canadian Mind Products Custom computer programming since 1963. Ready to take on new work.