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: 109fba,ea99940253996e3e X-Google-Attributes: gid109fba,public X-Google-Thread: f43e6,ea99940253996e3e X-Google-Attributes: gidf43e6,public X-Google-ArrivalTime: 2003-09-25 22:50:58 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.algonet.se!'newsfeed1.telenordia.se'!algonet!uab.ericsson.se!erinews.ericsson.se!news.ericsson.se!not-for-mail From: "Attila Feher" 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 08:43:21 +0300 Organization: Ericsson Message-ID: References: <2cfd1a4e.0309252032.3e3c0a1a@posting.google.com> NNTP-Posting-Host: ef78v001ire0h63.lmf.ericsson.se X-Trace: newstree.wise.edt.ericsson.se 1064554954 4330 131.160.30.156 (26 Sep 2003 05:42:34 GMT) X-Complaints-To: abuse@ericsson.se NNTP-Posting-Date: Fri, 26 Sep 2003 05:42:34 +0000 (UTC) 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:20793 comp.programming:63269 comp.lang.c++:245074 comp.lang.ada:42965 Date: 2003-09-26T08:43:21+03:00 List-Id: Andy Glew wrote: > I am in search of any rigourous, > scientific, academic or industrial studies > comparing naming conventions in > C++ or similar languages such as [SNIP] The underscore convention work also in case insensitive languages. The InnerCaps convention fails to solve the issue of all caps words like SMTPTCPIPConnection. Usual solution is to write them wrong as SmtpTcpIpConnection. The underscore convention tends to make lines longer, which can have bad effect on readablity. IMO it is a personal preference issue, and also an issue of what fonts and development envirnmoent is in use. IMO if one has to select *one* convention for a whole company using many languages then only the underscore one stands. With InnerCaps there is a possibility to create hard-to-find name collisions, especially in languages where the type of variables can change runtime by a simple assignment. -- Attila aka WW