comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Code Formatters
Date: 1996/11/06
Date: 1996-11-06T00:00:00+00:00	[thread overview]
Message-ID: <dewar.847331328@merv> (raw)
In-Reply-To: 55q621$v6s@gcsin3.geccs.gecm.com


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%





  reply	other threads:[~1996-11-06  0:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-28  0:00 Code Formatters Dave Smith
1996-10-29  0:00 ` Frank C. Post
1996-11-01  0:00 ` Mike Stark
1996-11-04  0:00   ` Robert Dewar
1996-11-05  0:00     ` Philip Brashear
1996-11-05  0:00       ` John English
1996-11-05  0:00   ` Ole-Hjalmar Kristensen FOU.TD/DELAB
1996-11-05  0:00     ` Robert Dewar
1996-11-05  0:00       ` Larry Kilgallen
1996-11-05  0:00         ` Robert Dewar
1996-11-06  0:00           ` Dave Smith
1996-11-06  0:00             ` Robert Dewar [this message]
1996-11-06  0:00             ` Larry Kilgallen
1996-11-08  0:00               ` Robert Dewar
1996-11-06  0:00   ` Mike Stark
1996-11-07  0:00   ` Axel Boness
1996-11-08  0:00     ` Robert Dewar
1996-11-09  0:00   ` Simon Wright
1996-11-12  0:00   ` Axel Boness
  -- strict thread matches above, loose matches on Subject: below --
1996-11-05  0:00 Marin David Condic, 561.796.8997, M/S 731-93
1996-11-14  0:00 Simon Johnston
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox