comp.lang.ada
 help / color / mirror / Atom feed
From: Ken Garlington <garlingtonke@lmtas.lmco.com>
Subject: Re: explicit null
Date: 1996/05/10
Date: 1996-05-10T00:00:00+00:00	[thread overview]
Message-ID: <31930D54.4837@lmtas.lmco.com> (raw)
In-Reply-To: Dr5LLn.7tA@world.std.com


Robert A Duff wrote:
> 
> In article <9605091727.AA01200@most>,
> W. Wesley Groleau (Wes) <wwgrol@PSESERV3.FW.HAC.COM> wrote:
> >The chances of the above search occurring under deadline pressure are
> >'null' :-)  With no pressure, about 5%. ...
> 
> You're correct, of course.  In most projects, in most situations.
> But it seems to me that this is an argument against having *any* coding
> conventions beyond what the language RM actually requires.

Actually, I think it's more of an argument for having coding conventions
(related to communicating developer intent) that are

  a. Obvious as to the intent.

  b. As close as possible to the point where the information is needed.

  c. Not redundant with information that can reasonably be gleaned from
     code analysis tools.

Coding standards that don't meet this criteria generally, in my experience,
have two problems: (1) they tend to be used inconsistently/incorrectly by
the developer, and (2) they tend to "drift" further off as the code is
maintained. They usually end up causing more problems then they solve.


-- 
LMTAS - "Our Brand Means Quality"




      reply	other threads:[~1996-05-10  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-09  0:00 explicit null W. Wesley Groleau (Wes)
1996-05-09  0:00 ` Robert A Duff
1996-05-10  0:00   ` Ken Garlington [this message]
replies disabled

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