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,259541b8a8a12b6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-12-29 08:30:16 PST Path: supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!feed2.onemain.com!feed1.onemain.com!newsfeed.wirehub.nl!newspeer1.nac.net!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 - aesthetics are irrelevant Date: Fri, 29 Dec 2000 16:23:36 GMT Organization: Deja.com Message-ID: <92idpv$hhs$1@nnrp1.deja.com> References: <3A429639.53D3EA9E@acm.org> <92fobl$f93$1@nnrp1.deja.com> <3A4B9FB8.AFD69726@acm.org> <92i5hu$ktl9@news.kvaerner.com> NNTP-Posting-Host: 205.232.38.14 X-Article-Creation-Date: Fri Dec 29 16:23:36 2000 GMT X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; U) X-Http-Proxy: 1.0 x51.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 X-MyDeja-Info: XMYDJUIDrobert_dewar Xref: supernews.google.com comp.lang.ada:3453 Date: 2000-12-29T16:23:36+00:00 List-Id: In article <92i5hu$ktl9@news.kvaerner.com>, "Tarjei T. Jensen" wrote: > Failing that the ada vendors could agree on a convention for > special comments to be used for pretty printing directives. I assume everyone in this thread is familiar with the GNAT convention (implemented by the -gnatyk switch) is that all uses of an identifier must match the casing of the declaration. (I think declaration is a better criterion than first use, and they are not quite equivalent when you have multiple units). Also we have seen cases where two identifiers have the same characters but different casing, e.g. Unval UNval where perhaps the Un in the first one is Un as in Untie, and the UN in the second is UN as in United Nations. In GNAT, each reference will be forced to be cased appropriately (and of course you really need a compiler with full visibility analysis to do this right). Sent via Deja.com http://www.deja.com/