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,31c0457c1c47fc2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-24 19:15:52 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!212.177.105.133!news.mailgate.org!zur.uu.net!ash.uu.net!spool0900.news.uu.net!reader0900.news.uu.net!not-for-mail Sender: DB3L@CTWD0143 Newsgroups: comp.lang.ada Subject: Re: Have you ever had a bug caused by... References: <27085883.0110191714.784d3d25@posting.google.com> <9r25o0$fla$1@nh.pace.co.uk> From: David Bolen Date: 24 Oct 2001 22:16:52 -0400 Message-ID: Organization: Fitlinxx, Inc. - Stamford, CT X-Newsreader: Gnus v5.7/Emacs 20.6 NNTP-Posting-Host: 208.247.212.3 X-Trace: 1003976149 reader0.ash.ops.us.uu.net 26646 208.247.212.3 Xref: archiver1.google.com comp.lang.ada:15160 Date: 2001-10-24T22:16:52-04:00 List-Id: "Marin David Condic" writes: > There is also an advantage to getting some kind of runtime exception in a > fielded system as well. If an index gets out of range under unusual > conditions not tested for, yes this is a programmer error. But unlike > silently running off the end of an array and scrogging memory with possibly > non-fatal, yet serious problems being generated, Ada is going to halt the > code and (if the implementation is nice!) report where it stopped and why. > In most apps that is *usually* a good thing. Oh agreed. But in any of those cases where such a situation may only be detectable at runtime (and I agree Ada does also have a number that can be caught during compiletime), then I'd avoid saying that Ada precludes code with such a bug, and rather state that Ada helps ensure a more robust system with its runtime checks. The bug is obviously still there. Maybe its nit-picking, but if the game is why Ada is better than xxx, then I think in fairness it needs to be approached the right way. As it is, such handling is of no small benefit, so I'd hate it to be overshadowed by someone on the xxx side picking a slightly too grandiose claim apart :-) -- -- David -- /-----------------------------------------------------------------------\ \ David Bolen \ E-mail: db3l@fitlinxx.com / | FitLinxx, Inc. \ Phone: (203) 708-5192 | / 860 Canal Street, Stamford, CT 06902 \ Fax: (203) 316-5150 \ \-----------------------------------------------------------------------/