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=0.7 required=5.0 tests=BAYES_00,MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,577df5d4a0e88785 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-12-19 08:00:08 PST Path: supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!europa.netcrusader.net!207.172.3.44!feed2.news.rcn.net!rcn!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: Robert Dewar Newsgroups: comp.lang.ada Subject: Re: Bad coding standards Date: Tue, 19 Dec 2000 15:49:31 GMT Organization: Deja.com Message-ID: <91o028$vp2$1@nnrp1.deja.com> References: <91b9ma$bne$1@nnrp1.deja.com> <3A3E36C4.3466A19C@averstar.com> <3A3E5E7E.67817482@acm.org> NNTP-Posting-Host: 205.232.38.41 X-Article-Creation-Date: Tue Dec 19 15:49:31 2000 GMT X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; U) X-Http-Proxy: 1.0 x73.deja.com:80 (Squid/1.1.22) for client 205.232.38.41 X-MyDeja-Info: XMYDJUIDrobert_dewar Xref: supernews.google.com comp.lang.ada:3252 Date: 2000-12-19T15:49:31+00:00 List-Id: In article <3A3E5E7E.67817482@acm.org>, Marin David Condic wrote: > In any case (pun intended :-) this seems to be basically a non-issue. If you > like all upper case, you're free to use it. If you like C++ coding > conventions, you're free to do that too. Consistency within a project is > probably more important than specifically what style you choose. Yes, that is of course true, nevertheless it is an advantage if everyone, or at least most folks, agree on a consistent style, as it makes discussion easier (it has for example been a consistent annoyance in C that there are several conventions for the use of {} The fact that indentation is strongly suggested by the RM has meant that pretty much everyone uses the same indentation style, which is an advantage. You certainly get used to anything you use a lot. At first I found the mixed case style of identifiers annoying (mainly because they are not well enough distinguished in comments), but now I am completely used to it, and find anything else annoying, e.g. I really dislike Mike Feldman's style in his book, and find this a disadvantage of the book, he uses FOR VariableRef in Typ LOOP .... which to me has the keywords yelling at me :-) So my recommendation is follow the RM style for keyword and identifier capitalization unless there is good reason not to. Robert Dewar P.S. A neat feature of GNAT is that it learns your style for error message purposes, so it will tell me: "end Try;" expected and it will tell Mike "END Try;" expected and it may tell someone else "end TRY;" expected Sent via Deja.com http://www.deja.com/