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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8811b64ee948c3e3 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Code Formatters Date: 1996/11/06 Message-ID: #1/1 X-Deja-AN: 195088664 references: <552nkb$u1k@gcsin3.geccs.gecm.com> <327A17CA.6B30@gsfc.nasa.gov> <1996Nov5.144945.1@eisner> <55q621$v6s@gcsin3.geccs.gecm.com> organization: New York University newsgroups: comp.lang.ada Date: 1996-11-06T00:00:00+00:00 List-Id: Dave Smith says "Or maybe it would have been useful to have included the Ada Style Guide (the "bible" as far as I am concerned) as part of the ANSI standard. Them we would all have code that conformed to the same layout." Dubious -- first, you could never have got agreement on a specific set of rules. Second, and perhaps more important, a good set of style guidelines is just that, a set of guidelines, not absoulute rules, and many of them are occasionally broken for good reasons. For example, in the GNAT world, we enforce the -gnatf set of rules, oops, I mean -gnatg, with the compiler considering violations to be errors (for details, have a look at style.adb i the GNAT sources). But the GNAT style involves MANY other rules that are not enforced mechanically (they are mostly enforced by self discipline, and then I check all checkins to make sure they meet the style rules, early on I used to find many deviations, now everyone really knows the rules and there is rarely need for correction, but that does not mean that these style reuls are oebyed 100%