comp.lang.ada
 help / color / mirror / Atom feed
From: "Keith " <cordieritenono@mediaone.net>
Subject: Re: Bad coding standards
Date: Fri, 15 Dec 2000 05:55:46 GMT
Date: 2000-12-15T05:55:46+00:00	[thread overview]
Message-ID: <Cni_5.21911$u85.2035052@typhoon.we.rr.com> (raw)
In-Reply-To: B6A1A9B09E52D31183ED00A0C9E0888C469949@nctswashxchg.nctswash.navy.mil

Are there any software QA orgs out there that try to enforce the non
aesthetics rules of the Quality and Style guide?

"Beard, Frank" <beardf@spawar.navy.mil> wrote in message
news:B6A1A9B09E52D31183ED00A0C9E0888C469949@nctswashxchg.nctswash.navy.mil..
.
> (was Re: constant string array)
>
>
> Ken Garlington wrote:
>
> > I say, why stop at one set? I think a nice rule would be to encode tests
> in
> > double parentheses, similar to label constructs, i.e.
> >
> > if ((a * b + c)) then
> >   ...
> > end if;
> >
> > so that, if you're doing structural test coverage analysis, you can find
> the
> > essential elements easily. Wouldn't that just be a lovely standard?
>
> Well, I suppose they had to stop somewhere, as all standards do.
>
> Assuming you're being facetious, I assume no-one is under the
> delusion that everyone out there in the Ada world, or even
> everyone on CLA, uses the same style guide, or even likes
> everything about the coding standards they're using.  After
> all, style guides are subjective.  It's not science.  If it
> were, there would probably be only one style guide (maybe two).
> But instead it is subject to preference.  Using upper case
> or lower case has no bearing on how the code runs.
> Unless your talking about style guide issues that specify
> using "for loops" as opposed to a "slices", or using "case"
> statements instead of an "if" statements, then it has no
> impact on the operation or performance of the software, just
> aesthetics.
>
> Is there supposed to be an "official" style guide all Ada
> developers are to be using (the implied LRM standard, Ada
> Quality and Style, ...)?
>
> All I was saying in the very beginning was I wasn't willing
> to fight over the paren issue in conditional statements, but
> when they said you couldn't use "use" and you also couldn't
> use "renames", we went to war.  There was no way I was going
> to use full path names on the operators.  Fortunately, no-one
> seems to object to "use type".
>
> Fortunately, none of coding standards I've used have been as
> bad as the one's Marc described.
>
> Frank
>





  parent reply	other threads:[~2000-12-15  5:55 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-13 22:23 Bad coding standards Beard, Frank
2000-12-13 23:56 ` Ken Garlington
2000-12-14  0:37   ` Ken Garlington
2000-12-14  4:08 ` Robert Dewar
2000-12-14 14:06   ` Ken Garlington
2000-12-14 20:15     ` Robert Dewar
2000-12-15  5:55 ` Keith  [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-12-19 17:46 Beard, Frank
2000-12-15  5:00 Beard, Frank
2000-12-15 14:14 ` Ken Garlington
2000-12-16  1:28 ` Robert Dewar
2000-12-18 20:00 ` Robert L. Spooner
2000-12-14  2:32 Beard, Frank
2000-12-14 12:19 ` Robert Dewar
2000-12-14 14:03 ` Ken Garlington
2000-12-14 20:14   ` Robert Dewar
2000-12-15  1:10     ` Ken Garlington
2000-12-18 16:09     ` Tucker Taft
2000-12-18 18:59       ` Marin David Condic
2000-12-18 22:20         ` Georg Bauhaus
2000-12-19 15:51           ` Tucker Taft
2000-12-19 16:12             ` Marin David Condic
2000-12-19 16:01           ` Robert Dewar
2000-12-19 15:49         ` Robert Dewar
2000-12-19 16:36           ` Marin David Condic
2000-12-20  1:52             ` Ken Garlington
2000-12-20 12:58               ` Marin David Condic
2000-12-20 14:27                 ` Ken Garlington
2000-12-21 23:19                   ` Marin David Condic
2001-01-03 19:49                     ` Wes Groleau
2001-01-06 19:45                       ` Lao Xiao Hai
2000-12-20 11:56             ` Mario Amado Alves
2000-12-19 18:05           ` Larry Kilgallen
2000-12-19 15:42       ` Robert Dewar
2000-12-15  0:52 ` Georg Bauhaus
     [not found] <910u3p$v9j$1@nnrp1.deja.com>
     [not found] ` <3A3445A8.8FC404D5@acm.org>
     [not found]   ` <912ut9$fga$1@nnrp1.deja.com>
2000-12-12  4:56     ` constant string array Jeff Carter
2000-12-12 20:57       ` Beard, Frank
2000-12-13  0:39         ` Robert Dewar
2000-12-13  2:02           ` Beard, Frank
2000-12-13  2:33             ` Robert Dewar
2000-12-13  2:55               ` Beard, Frank
2000-12-13  4:00                 ` Ken Garlington
2000-12-13 13:38                   ` Bad coding standards Marc A. Criley
2000-12-13 13:54                     ` Ken Garlington
2000-12-13 20:55                     ` David Emery
2000-12-14 13:07                       ` Robert Dewar
2000-12-14 14:21                         ` Ken Garlington
2000-12-15  0:08                           ` Wayne Magor
2000-12-15  1:40                             ` Ken Garlington
2000-12-15  3:18                         ` DuckE
2000-12-15  4:45                           ` Ed Falis
2000-12-15 15:44                           ` Robert C. Leif, Ph.D.
2000-12-15 16:34                             ` Ted Dennison
2000-12-16  6:08                               ` Robert C. Leif, Ph.D.
2000-12-16  1:16                             ` Robert Dewar
2000-12-16  1:19                             ` Robert Dewar
2000-12-17  5:49                               ` Robert C. Leif, Ph.D.
2000-12-17  8:24                                 ` Robert Dewar
2000-12-15 15:56                       ` Charles H. Sampson
2000-12-15 20:43                         ` Wayne Lydecker
2000-12-16  4:31                           ` Ken Garlington
2000-12-16 11:36                           ` Robert Dewar
2000-12-15 21:36                         ` tmoran
replies disabled

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