comp.lang.ada
 help / color / mirror / Atom feed
From: "Ken Garlington" <Ken.Garlington@computer.org>
Subject: Re: Bad coding standards
Date: Thu, 14 Dec 2000 14:03:33 GMT
Date: 2000-12-14T14:03:33+00:00	[thread overview]
Message-ID: <Vq4_5.7965$bw.729885@news.flash.net> (raw)
In-Reply-To: B6A1A9B09E52D31183ED00A0C9E0888C469951@nctswashxchg.nctswash.navy.mil

"Beard, Frank" <beardf@spawar.navy.mil> wrote in message
news:B6A1A9B09E52D31183ED00A0C9E0888C469951@nctswashxchg.nctswash.navy.mil

: Our style guide is very similar to the Ada LRM (you say
: ARM I say LRM. Which is more readably?  Neither, their
: both cryptic.).  Why don't you type out Ada Reference Manual?
: Doesn't ARM violate your style guide?

Sure - and as several people have pointed out in the past, the ARM isn't
intended to be an easy-to-read explanation of the language for new users,
nor a description of best practices. It's intended to be a technical
reference for people who already understand the langauge. That's why there
are both (a) highly readable textbooks for people learning the language and
(b) the AARM, which provides even more arcane details for compiler writers,
etc. So, this is a straw man argument.

: Hmmm, another exception
: (ARM renames Ada_Reference_Manual).  Why did the Ada95 LRM
: style change from the Ada83 LRM style?  Hmmm, yet another
: exception.  Is suddenly the Ada83 LRM style "bad"?

Not "suddenly" - It was _always_ bad :). The Ada95 manual is slightly
better, but again someone who uses it as the basis for a project's style
guide (instead of, for example, the SPC "Ada Quality and Style Guide"!) is
probably making a mistake.

: Oh,
: the poor souls who got trapped under the Ada83 style.
: Have they yet to see the salvation of the Ada95 style?
: Will Ada0x change yet again?  Who's right, who's wrong?
: Why doesn't the Ada standard specify the style as well,
: so that we're all writing to the same coding standard,
: if it is that crucial and people have such poignant
: opinions about it?

Because (a) that's not what it's intended to do, and (b) there are other
document that *are* intended for that purpose. Since Ada attempts to
discourage the "copy principle," it's not surprising that the ARM does not
choose to be redundant with available style guides ;)

Of course, my point had nothing to do with which style is _best_. People can
reasonably differ on that question. My point is that readability, and
aesthetics in general, matters a great deal if you're a professional
software engineer.  For example, if someone were to say:

   "it has no impact on the operation or performance of the software, just
aesthetics."

I might assume that the word "just" implies that aesthetics are less
important than operation or performance. As the ARM points out, the design
of Ada is predicated in part on the idea that aesthetics are very important.





  parent reply	other threads:[~2000-12-14 14:03 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-14  2:32 Bad coding standards Beard, Frank
2000-12-14 12:19 ` Robert Dewar
2000-12-14 13:03   ` OT ae [was Re: Bad coding standards] Philip Anderson
2000-12-14 14:08     ` Ken Garlington
2000-12-14 14:19   ` American English (was: Bad coding standards) John English
2000-12-14 15:07     ` Graeme
2000-12-15 13:16       ` The Design Zone (was Re: American English) Marc A. Criley
2000-12-14 15:14     ` American English (was: Bad coding standards) Marin David Condic
2000-12-14 17:38     ` Brian Rogoff
2000-12-15 16:12       ` John English
2000-12-14 14:03 ` Ken Garlington [this message]
2000-12-14 20:14   ` Bad coding standards 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
  -- 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-13 22:23 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 
     [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