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 X-Google-Thread: 109fba,ea99940253996e3e X-Google-Attributes: gid109fba,public X-Google-Thread: f43e6,ea99940253996e3e X-Google-Attributes: gidf43e6,public X-Google-Thread: 108717,ea99940253996e3e X-Google-Attributes: gid108717,public X-Google-Thread: 103376,ea99940253996e3e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-14 06:41:15 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!newsmi-eu.news.garr.it!NewsITBone-GARR!newsserver.cilea.it!news.crs4.it!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.software-eng,comp.programming,comp.lang.c++,comp.lang.ada Subject: Re: Spell-checking source code Date: Tue, 14 Oct 2003 15:41:09 +0200 Organization: CRS4, Center for Adv. Studies, Research and Development in Sardinia Message-ID: <3F8BFCF5.6020906@crs4.it> 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> NNTP-Posting-Host: sparre.crs4.it Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: pietro.crs4.it 1066134330 1656 156.148.70.170 (14 Oct 2003 12:25:30 GMT) X-Complaints-To: news@nntpserver.crs4.it. NNTP-Posting-Date: 14 Oct 2003 12:25:30 GMT User-Agent: Any Browser, HTML 4.01, XHTML 1.0 X-Accept-Language: fo, da, no, sv, is, fr, de, it, In-Reply-To: Xref: archiver1.google.com comp.software-eng:20773 comp.programming:934 comp.lang.c++:2305 comp.lang.ada:810 Date: 2003-10-14T12:25:30+00:00 List-Id: Jakob Bieling wrote: > "Jacob Sparre Andersen" wrote in message > news:3F830C63.1070005@crs4.it... >>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 - except for those from the project specific "approved" list ("IO" is always there, though :). And when I do, it is always as separate parts like in "Integer_Text_IO". I would never write "IntegerTextIO", "intTextIO" or "Int_Text_IO" in my code. If you want more details on how I choose my identifier names, then chapter 3 in �Ada Quality and Style� is hopefully a good description. Greetings, Jacob -- There only exist 10 kinds of people: Those who know binary numbers and those who don't know binary numbers.