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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ea99940253996e3e X-Google-Attributes: gid103376,public X-Google-Thread: 108717,ea99940253996e3e X-Google-Attributes: gid108717,public X-Google-Thread: f43e6,ea99940253996e3e X-Google-Attributes: gidf43e6,public X-Google-Thread: 109fba,ea99940253996e3e X-Google-Attributes: gid109fba,public X-Google-ArrivalTime: 2003-10-14 08:31:16 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: "Jakob Bieling" Newsgroups: comp.software-eng,comp.programming,comp.lang.c++,comp.lang.ada Subject: Re: Spell-checking source code Date: Tue, 14 Oct 2003 17:30:59 +0200 Organization: T-Online Message-ID: References: <2cfd1a4e.0309252032.3e3c0a1a@posting.google.com> <863cefjy6l.fsf@strudel.futureapps.de> <86ad8i7d1d.fsf_-_@huldreheim.huldreskog.no> <86zngh5oct.fsf@huldreheim.huldreskog.no> <86r81s6elg.fsf@huldreheim.huldreskog.no> <3F830C63.1070005@crs4.it> <3F8BFCF5.6020906@crs4.it> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 1066145414 03 16682 5tswVqEESaAkAr 031014 15:30:14 X-Complaints-To: usenet-abuse@t-online.de X-ID: T856F-ZC8ejozKKtJcmoV3H0rShdkstraUhoQncWHrCV7KXZpwQh8R X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Xref: archiver1.google.com comp.software-eng:20778 comp.programming:944 comp.lang.c++:2321 comp.lang.ada:823 Date: 2003-10-14T17:30:59+02:00 List-Id: "Jacob Sparre Andersen" wrote in message news:3F8BFCF5.6020906@crs4.it... > Jakob Bieling wrote: > > "Jacob Sparre Andersen" wrote: > > > I wouldn't like that. Incorrectly spelled identifiers make code > > > maintenance more difficult. > > I do not know how you choose your identifier names, but I usually give > > them abbreviated prefixes, > I practically never use abbreviations or acronyms in identifiers - Not sure where I picked that habit up, but I guess it is pure laziness. I could not imagine having to type those long names everytime you use them. Especially counter variables in for-loops (posting from comp.lang.c++) .. you also use simple i's and j's etc. there, right? As you seem to be posting from comp.lang.ada, I am not too sure if Ada provides such constructs in the same way C++ does, so maybe Ada has different means of looping in a for-loop-kind-of-way (yes, I know pretty much nothing about Ada). Also, sometimes I tend to abbreviate quite a lot, so that later I might not know what it stands for. In cases like those I just put a comment next to where I declared the variable and I can keep saving those keystrokes. regards -- jb (replace y with x if you want to reply by e-mail)