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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1c8aeba24bc53c7b X-Google-Attributes: gid103376,public From: George Haddad Subject: Re: Request for Ada Coding Standards Date: 1997/08/19 Message-ID: <33F9E653.2837@lmco.com>#1/1 X-Deja-AN: 265329860 References: <33F4DFFA.7909@lmco.com> Reply-To: george.haddad@lmco.com Organization: Lockheed Martin M & S, Sunnyvale, CA Newsgroups: comp.lang.ada Date: 1997-08-19T00:00:00+00:00 List-Id: Robert Dewar wrote: > There are two GNAT style rules: > > 1. Write according to the rules for -gnatg turned on (see style.adb for > full documentation) > > 2. Write in the same style as the rest of GNAT > > The second rule is much harder to document. Parts of it could be documented, > but some of it is related to the feel of how things should look, and is not > so easily documented! As far as style.adb, on our site only the GNAT binaries had been installed, so I'm off to get sources from the ftp site. I expect that will be no problem. (But, my expectations are often wildly optimistic. :-)) For rule 2, "hard" (or even "not easy") doesn't mean "impossible". Do you have any existing documentation on Rule 2. I know you have posted in the past that you, are (or were) the final arbiter of Rule 2, but has any effort been made to codify Rule 2's criteria? (Or, does any succesful attempt to codify a criterion for Rule 2 automatically get converted into a new part of Rule 1 instead? :-)) > However, it is no secret, and all the information is available to the > public without charge -- just look at the GNAt sources! Yes, I know. I was merely referring, tongue-in-cheek, to your not-infrequent complaint that many users of GNAT do not read gnatinfo.txt. :-) Thank you for your response. ***************************************************************** I found these opinions on my doorstep, would you please give them a good home?