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 X-Google-Thread: 10ad19,23963231b5359f74 X-Google-Attributes: gid10ad19,public X-Google-Thread: 1073c2,23963231b5359f74 X-Google-Attributes: gid1073c2,public X-Google-Thread: 107a89,23963231b5359f74 X-Google-Attributes: gid107a89,public X-Google-Thread: 10a146,23963231b5359f74 X-Google-Attributes: gid10a146,public X-Google-Thread: 11440e,23963231b5359f74 X-Google-Attributes: gid11440e,public X-Google-Thread: 103376,23963231b5359f74 X-Google-Attributes: gid103376,public X-Google-Thread: 101deb,23963231b5359f74 X-Google-Attributes: gid101deb,public X-Google-ArrivalTime: 2001-06-08 08:05:04 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-nue1.dfn.de!news-han1.dfn.de!news-koe1.dfn.de!do.de.uu.net!feeder01.news.de.uu.net!news-1.bank.dresdner.net!not-for-mail From: James Kanze 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 ? Date: Fri, 08 Jun 2001 16:55:57 +0200 Organization: Dresdner Bank AG Message-ID: <3B20E77D.86C6DB22@dresdner-bank.com> References: <3B0DBD4A.82943473@my-deja.net> <3B0DD011.88FCD00E@acm.org> <83WP6.3874$yc6.728572@news.xtra.co.nz> <3B1411D0.3AAF42E7@ftw.rsc.raytheon.com> <9f2nks$ibd$0@dosa.alt.net> <3B177EF7.2A2470F4@facilnet.es> <9f8b7b$h0e$1@nh.pace.co.uk> <3B1CEC14.FE272909@dresdner-bank.com> Reply-To: default@dresdner-bank.com NNTP-Posting-Host: ffzj09tz.bank.dresdner.net Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mozilla 4.7 [en]C-CCK-MCD drebazen10 (WinNT; I) X-Accept-Language: en,fr,de Xref: archiver1.google.com comp.lang.ruby:10498 comp.lang.ada:8423 comp.lang.awk:2912 comp.lang.clarion:21453 comp.lang.java.programmer:74796 comp.lang.pl1:918 comp.lang.vrml:3656 Date: 2001-06-08T16:55:57+02:00 List-Id: Jon Skeet wrote: > James Kanze wrote: > > > Nice and compact. The only problem is the compiler does not > > > enforce it. Every once in a while you run into some Bozo who > > > refuses to follow the convention and it is hell understanding > > > the code because you can't HELP but unconsciously presume he IS > > > following it even when you know he is not. > > Another problem is that it doesn't read well over the telephone. > > One of my criteria for a good naming convention is that people > > from the project should be able to talk about the code over the > > telephone with no ambiguities. > Is that "no ambiguities if both people know a) the problem space and > b) the naming convention", or no ambiguities regardless? The problem occurs when the naming convention gives semantic meaning to aspects which aren't verbalized, like case. If you have a variable and a typename which only differ in the case of the initial letter, there will be ambiguity when you talk about program text over the telephone. -- James Kanze mailto:kanze@gabi-soft.de Conseils en informatique orient�e objet/ Beratung in objektorientierter Datenverarbeitung Ziegelh�ttenweg 17a, 60598 Frankfurt, Germany Tel. +49(069)63198627