comp.lang.ada
 help / color / mirror / Atom feed
From: mfb@mbunix.mitre.org (Michael F Brenner)
Subject: Re: Request for Ada Coding Standards
Date: 1997/08/16
Date: 1997-08-16T00:00:00+00:00	[thread overview]
Message-ID: <5t4apd$6eq@top.mitre.org> (raw)
In-Reply-To: 33F4DFFA.7909@lmco.com


Why ask people to standardize syntax instead of the things that
make the code work? Why not ask people to:

   document the preconditions and boundaries of the software
   not delete customer service requests until released
   minimize coupling (such as pointers or references to global variables)
   maximize cohesion (each unit does one thing in a simple manner)

but do it any style they like. They will produce higher quality at
a lower life-cycle cost if you measure the above 4 items instead of
lines of code, capitalization, indentation, number of lines per unit,
bulky unit headers, meaningless comments, complexity metrics that
penalize nested CASE statements, or complexity metrics that give
equal penalty to multiple entrances (BAD) and multiple exits (GOOD),
in my opinion. I am not aware of any research that shows a reduction
of life-cycle cost for measuring syntax compliance over my 4 suggested
standards above. As a matter of fact, I am not aware of any research
that shows a reduction in life-cycle cost for having a syntax standard
over any ONE of my 4 suggested standards above.

Mike Brenner





  parent reply	other threads:[~1997-08-16  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-08-15  0:00 Request for Ada Coding Standards George Haddad
1997-08-16  0:00 ` Robert Dewar
1997-08-19  0:00   ` George Haddad
1997-08-16  0:00 ` Michael F Brenner [this message]
1997-08-17  0:00   ` Robert Dewar
1997-08-18  0:00   ` George Haddad
1997-08-19  0:00 ` Jeff Burns
1997-08-19  0:00   ` George Haddad
replies disabled

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