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: 109fba,ea99940253996e3e X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,ea99940253996e3e X-Google-Attributes: gid103376,public X-Google-Thread: f43e6,ea99940253996e3e X-Google-Attributes: gidf43e6,public X-Google-Thread: 108717,ea99940253996e3e X-Google-Attributes: gid108717,public X-Google-ArrivalTime: 2003-09-26 11:00:33 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!snoopy.risq.qc.ca!msc1.onvoy!onvoy.com!news.mmm.com!not-for-mail From: Programmer Dude Newsgroups: comp.software-eng,comp.programming,comp.lang.c++,comp.lang.ada Subject: Re: ISO Studies of underscores vs MixedCase in Ada or C++ Date: Fri, 26 Sep 2003 12:44:14 -0500 Organization: Wrenn Productions, Ltd Message-ID: <3F747AEE.8AA623CD@Sonnack.com> References: <2cfd1a4e.0309252032.3e3c0a1a@posting.google.com> NNTP-Posting-Host: 169.10.179.242 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en Xref: archiver1.google.com comp.software-eng:20808 comp.programming:63331 comp.lang.c++:245180 comp.lang.ada:43008 Date: 2003-09-26T12:44:14-05:00 List-Id: Jack Klein wrote: > Interestingly I see a lot of programmers who prefer CamelMode for > function names, yet prefer under_scores in variable names. In every > single case where I have checked, the programmer has done at least > some coding for Windows and its Pascal, BASIC, etc., API. And in > every single case they claim that is not where their style came from. I've tried just about every combination over the years. At one point it was underscores in function names, not in data names. OOP added enough other basic types of things it got hard to have a style for each. Currently, I use lower_case_with_underscores for local names and CamelCaseMode for functions/methods and for global data. I'm considering switching to Mixed_Case_With_Underscores for global data. In fact, with the fairly recent addition of several new languages to my tool kit, it's probably time to once again re-think my whole naming convention thing. -- |_ CJSonnack _____________| How's my programming? | |_ http://www.Sonnack.com/ ___________________| Call: 1-800-DEV-NULL | |_____________________________________________|_______________________|