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: f43e6,ea99940253996e3e X-Google-Attributes: gidf43e6,public X-Google-Thread: 109fba,ea99940253996e3e X-Google-Attributes: gid109fba,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 22:43:12 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.vmunix.org!newsfeed01.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: Wed, 15 Oct 2003 07:43:23 +0200 Organization: T-Online Message-ID: References: <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 1066196557 03 1242 Z15wVaCS+AkKL 031015 05:42:37 X-Complaints-To: usenet-abuse@t-online.de X-ID: XHZXwZZXreiy102I+GGmJ5szzJIX2wHWnFJMlOl-XtS+jjJ2mjA4sf 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:20795 comp.programming:1003 comp.lang.c++:2417 comp.lang.ada:880 Date: 2003-10-15T07:43:23+02:00 List-Id: wrote in message news:h51pov4t28ujj3bqlareldhsiie0m4ljre@4ax.com... > "Jakob Bieling" wrote: > > >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. > > Neither can I. I rarely abbreviate in a variable name. But I rely on code > completion in my editor to save typing those keystrokes. As a said in the other post: For function local variables, mine does not have that feature. > The problem is that once you start abbreviating, odds are some abbreviations > are not going to be consistent. I've seen nbr, no, nu, or num instead of > number. Using an editor that will complete nu to number might make your > life easier in a multi-person project. Yes, I do write 'num' instead of number. Or I also write 'msg' instead of message, or 'ips' for an 'InterProcessSynchronisation' handle. In case of ips, I might not know what it is without context. But when seeing that variable used in a function call, it is clear what it is supposed to be. Along with the comments in the code, I find it justified and not overly hard to read. regards -- jb (replace y with x if you want to reply by e-mail)