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: 108717,ea99940253996e3e X-Google-Attributes: gid108717,public X-Google-Thread: 103376,ea99940253996e3e X-Google-Attributes: gid103376,public X-Google-Thread: 109fba,ea99940253996e3e X-Google-Attributes: gid109fba,public X-Google-Thread: f43e6,ea99940253996e3e X-Google-Attributes: gidf43e6,public X-Google-ArrivalTime: 2003-09-26 10:25:00 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!sccrnsc03.POSTED!not-for-mail From: Jack Klein Newsgroups: comp.software-eng,comp.programming,comp.lang.c++,comp.lang.ada Subject: Re: ISO Studies of underscores vs MixedCase in Ada or C++ Message-ID: References: <2cfd1a4e.0309252032.3e3c0a1a@posting.google.com> X-Newsreader: Forte Agent 1.9/32.560 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 12.207.93.250 X-Complaints-To: abuse@comcast.net X-Trace: sccrnsc03 1064597097 12.207.93.250 (Fri, 26 Sep 2003 17:24:57 GMT) NNTP-Posting-Date: Fri, 26 Sep 2003 17:24:57 GMT Organization: Comcast Online Date: Fri, 26 Sep 2003 17:24:57 GMT Xref: archiver1.google.com comp.software-eng:20807 comp.programming:63325 comp.lang.c++:245170 comp.lang.ada:43000 Date: 2003-09-26T17:24:57+00:00 List-Id: On 25 Sep 2003 21:32:40 -0700, andy.glew@amd.com (Andy Glew) wrote in comp.lang.c++: > I am in search of any rigourous, > scientific, academic or industrial studies > comparing naming conventions in > C++ or similar languages such as > Ada: > > Specifically, are names formed with > underscores more or less readable > than names formed with MixedCase > StudlyCaps camelCase? My team is currently working under this guideline as a compromise: Function names must be CamelMode, but optionally underscores are allowed, e.g. Camel_Mode. ...or should I say "compromised" guidelines? 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. Go figure. -- Jack Klein Home: http://JK-Technology.Com FAQs for comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html comp.lang.c++ http://www.parashift.com/c++-faq-lite/ alt.comp.lang.learn.c-c++ ftp://snurse-l.org/pub/acllc-c++/faq