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-Thread: 103376,8b756d9a0afb052a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsfeed.vmunix.org!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Quick question about Ada code formatting. Date: Sun, 19 Feb 2006 00:27:38 +0000 Organization: Pushface Message-ID: References: <43f74bc0$0$13593$9b4e6d93@newsread2.arcor-online.net> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1140308859 24525 62.49.19.209 (19 Feb 2006 00:27:39 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Sun, 19 Feb 2006 00:27:39 +0000 (UTC) Cancel-Lock: sha1:79RjSpOHxx+tcPJ4liRC/NilExk= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Xref: g2news1.google.com comp.lang.ada:2973 Date: 2006-02-19T00:27:38+00:00 List-Id: Georg Bauhaus writes: > A "hand writing" can work for one person, but not for an > other person. People can, and do fight over whose handwriting > viz. Ada style is better. Even neglecting the strong influence > that a font can have on appearance. But I think there are much > more important issues, and just -gnaty is overly strict here. I don't believe that what we are doing is art. Artists tend not to get paid as much as that. If people won't abide by the simple things like the project style guide, it acts as a warning bell that they're probably ignoring other, more important, things. > Good in my (limited) experience: > > - Consistent use of whatever non-typographical convention > is in use. Yes, precisely. That is *exactly* the point! > An additional proof of -gnaty being overly strict is when it comes > function names in GUI programming. Many do not want to see '_'s in > identifiers when they are use to them without the underscores. Note > the "used to"... :-) I don't understand that. I have GLIDE and GPS set up to recognise the correct casing of lots of words: my ~/.emacs_case_exceptions is ASCL AUnit BC ColdFrame GNAT IDE PragmaRC *AVL *DOM *EWS *HTTP *IO *XML so that, for example, Text_IO comes out exactly like that as I type. And ColdFrame like that. > There is a study (from Kent?, comparing MISRA C and other style > guides) that demonstrates how useless and wasteful typographic > sophistry is. Hmm, can't find anything like that on Google, any more pointers?