From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,db5c6b2ef47d4b9e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-22 16:24:32 PST Newsgroups: comp.lang.ada Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.mathworks.com!news.mathworks.com!uunet!ash.uu.net!xyzzy!nntp From: Jeffrey Carter Subject: Re: short-circuit control forms X-Nntp-Posting-Host: e246420.msc.az.boeing.com Content-Type: text/plain; charset=us-ascii Message-ID: <3B33CD82.328E3182@boeing.com> Sender: nntp@news.boeing.com (Boeing NNTP News Access) Content-Transfer-Encoding: 7bit Organization: The Boeing Company X-Accept-Language: en References: <3B30F836.D700DAA3@raytheon.com> <3B312260.728686B5@boeing.com> <5ee5b646.0106221258.601d2bce@posting.google.com> Mime-Version: 1.0 Date: Fri, 22 Jun 2001 22:58:10 GMT X-Mailer: Mozilla 4.5 [en]C-CCK-MCD Boeing Kit (WinNT; U) Xref: archiver1.google.com comp.lang.ada:9052 Date: 2001-06-22T22:58:10+00:00 List-Id: Robert Dewar wrote: > > Jeffrey Carter 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