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,259541b8a8a12b6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-03 12:13:24 PST Path: supernews.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.mathworks.com!cyclone.swbell.net!bos-service1.ext.raytheon.com!bos-service2.ext.raytheon.com.POSTED!not-for-mail Message-ID: <3A5387A9.967E8034@ftw.rsc.raytheon.com> From: Wes Groleau X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en,es,fr,pt MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Bad coding standards - aesthetics are irrelevant References: <3A429639.53D3EA9E@acm.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 03 Jan 2001 15:12:25 -0500 NNTP-Posting-Host: 151.168.144.162 X-Complaints-To: news@ext.ray.com X-Trace: bos-service2.ext.raytheon.com 978552796 151.168.144.162 (Wed, 03 Jan 2001 15:13:16 EST) NNTP-Posting-Date: Wed, 03 Jan 2001 15:13:16 EST Organization: Raytheon Company Xref: supernews.google.com comp.lang.ada:3624 Date: 2001-01-03T15:12:25-05:00 List-Id: > by a machine. For example, you might have an identifier: Rotor_RPM. Automatic > case rules would have a hard time noting that RPM is an abbreviation and > should be upper .... If the "pretty printer" also does a spellcheck on every "word" in every identifier, the algorithm could be if in standard dictionary, initial caps if in approved exceptions, case exactly as in list else flag as violation This is still not foolproof--you have to be careful not to approve an acronym that is also a regular word. You also need to avoid the process used by some: if not on list of approved abbreviations then add to list of approved abbreviations end if :-) :-) -- Wes Groleau http://freepages.rootsweb.com/~wgroleau