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,429176cb92b1b825 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news4.google.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!193.201.147.84.MISMATCH!xlned.com!feeder1.xlned.com!news.netcologne.de!newsfeed-fusi2.netcologne.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Bill Findlay Newsgroups: comp.lang.ada Subject: Re: AWS Coding Styles (and about boring plain-linear text files in the end) Date: Mon, 17 Jan 2011 13:47:14 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Trace: individual.net 0t6Z5GmPvzN05a+lJDoSAg4SfAu2BCDFxRXuvNs48uXRHlqnwZ Cancel-Lock: sha1:A0zsZpu0LTAI1idpW0y22F04cCQ= User-Agent: Microsoft-Entourage/12.28.0.101117 Thread-Topic: AWS Coding Styles (and about boring plain-linear text files in the end) Thread-Index: Acu2TQv8Xkv1oEZXPk+WE4ae/az1nw== Xref: g2news1.google.com comp.lang.ada:16488 Date: 2011-01-17T13:47:14+00:00 List-Id: On 17/01/2011 05:07, in article op.vpfsjkfdule2fv@garhos, "Yannick Duch�ne (Hibou57)" wrote: > Ah, a big one deal for me this one� (the one which follows) > > In �3.1 Character Set and Separators� : > >> A line should never be longer than 79 characters, >> not counting the line separator. > > I fully agree with this is some sense (just that I use 78 > characters instead of 79). Why 78/79 and not 80, as I have always used? Let me guess: badly-implemented terminals/emulators wrap on the 80th character without checking to see whether it is CR/LF, so you get spurious double-line spacing if all 80 columns are used? I follow nearly all of the other guidelines, without having seen style-guide.html before, so of course, I strongly approve of them. 8-) FWIW the ones I don't follow are: > All local subprograms in a subprogram or package body > should be declared before the first local subprogram > body. That seems to me to add pointless verbosity. I declare subprograms iff it is necessary, and no earlier than necessary. In �6.2 If Statements� : > Complex conditions in if-statements are indented two > characters I use the same indent (by 3) as for every other nesting (with short-circuit forms) and no indent if the phrases are parallel (with and/or/xor). -- Bill Findlay with blueyonder.co.uk; use surname & forename;