comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <jeffrey.carter@boeing.com>
Subject: Re: short-circuit control forms
Date: Fri, 22 Jun 2001 22:58:10 GMT
Date: 2001-06-22T22:58:10+00:00	[thread overview]
Message-ID: <3B33CD82.328E3182@boeing.com> (raw)
In-Reply-To: 5ee5b646.0106221258.601d2bce@posting.google.com

Robert Dewar wrote:
> 
> Jeffrey Carter <jeffrey.carter@boeing.com> wrote in message news:<3B312260.728686B5@boeing.com>...
> > If not, you do not have software engineers. You have coders who are
> > wasting their time and the company's money on ignorant FUD, and
> > introducing a new source of error into working software. At best you
> > should fire them and replace them with software engineers; at worst you
> > should require them to adhere to your company standard unless they have
> > justification for deviating.
> 
> The above itself is FUD in this case.
> 
> It is quite obvious that in some cases short circuiting is critical
> for efficiency without needing detailed measurements. For example,
> when searching in a binary tree, it can make the difference between
> O(logN) and O(N) behavior in extreme cases (well in recursion cases
> it can of course make the difference between finite and infinite
> execution time in a non-lazy language).

It may well be true that short circuiting is necessary to obtain
acceptable run times when implementing a search in a binary tree, but
that seems to have no bearing on the subject under discussion. The post
that I was replying to described coders changing working Ada, which
implies that the software is already fast enough, because they believe
that short circuit forms are universally faster, without any evidence
that their beliefs are true. To change working software in a manner
known to be a potential source of errors without any evidence of
benefit, much less of necessary benefit, does not seem justifiable to
me.

I guess this means the above is FUD about FUD about FUD. Shall we try
for FUD ** 4?

Do your posts this afternoon represent situations you thought it very
important to comment on, or can we expect the pleasure of your posts on
a regular basis again?

-- 
Jeffrey Carter



  parent reply	other threads:[~2001-06-22 22:58 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-20 19:23 short-circuit control forms James A. Krzyzanowski
2001-06-20 20:15 ` Ted Dennison
2001-06-20 20:47 ` Marin David Condic
2001-06-20 22:23 ` Jeffrey Carter
2001-06-21  0:45   ` Al Christians
2001-06-21 15:06     ` Wes Groleau
2001-06-21 15:46       ` Al Christians
2001-06-21 18:28         ` Wes Groleau
2001-06-21 18:51         ` Marin David Condic
2001-06-22 12:17           ` Marc A. Criley
2001-06-22 14:55             ` Marin David Condic
2001-06-22 20:58   ` Robert Dewar
2001-06-22 21:49     ` Ted Dennison
2001-06-22 22:58     ` Jeffrey Carter [this message]
2001-06-23  0:38       ` Larry Kilgallen
2001-06-23 17:34       ` Simon Wright
2001-06-26 15:48       ` Wes Groleau
2001-06-25 17:00     ` Wes Groleau
2001-06-21  0:13 ` Mark Lundquist
2001-06-21  0:55   ` Al Christians
2001-06-21 12:39   ` Larry Kilgallen
2001-06-21 15:02   ` Wes Groleau
2001-06-21 14:24 ` short-circuit control forms (& 'long names are doom') Paul Graham
2001-06-21 17:20   ` Warren W. Gay VE3WWG
2001-06-21 18:32     ` Wes Groleau
2001-06-21 23:18   ` Charles Hixson
2001-06-22  1:01     ` Larry Kilgallen
2001-06-22  3:10     ` DuckE
2001-06-22 15:46       ` Wes Groleau
2001-06-22 19:02         ` Ted Dennison
2001-06-22 19:16         ` Ted Dennison
2001-06-22 20:53         ` Robert Dewar
2001-06-22 20:43       ` Robert Dewar
2001-06-22 22:34         ` Jerry Petrey
2001-06-25 14:30         ` Marin David Condic
  -- strict thread matches above, loose matches on Subject: below --
2001-06-20 19:50 short-circuit control forms Beard, Frank
2001-06-20 20:35 ` Ted Dennison
2001-06-20 22:32   ` Jeffrey Carter
2001-06-21  1:18     ` Mark Lundquist
2001-06-21 17:05       ` Jeffrey Carter
2001-06-21 14:31     ` Wes Groleau
2001-06-20 23:45   ` Dale Stanbrough
2001-06-20 20:57 ` Marin David Condic
2001-06-21  7:31 ` Keith Thompson
     [not found] <B6A1A9B09E52D31183ED00A0C9E0888C469BC4@nctswashxchg.nctswash.navy.mil>
2001-06-20 21:10 ` Wilhelm Spickermann
2001-06-20 22:20 Beard, Frank
2001-06-21 14:58 ` Marin David Condic
2001-06-21 17:11 ` Warren W. Gay VE3WWG
2001-06-21 17:49   ` Marin David Condic
replies disabled

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