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-22 18:20:31 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn From: Robert*@ Newsgroups: comp.lang.ada Subject: Re: Have you ever had a bug caused by... Date: 22 Oct 2001 17:52:25 -0700 Organization: Newsguy News Service [http://newsguy.com] Message-ID: <9r2f090nu2@drn.newsguy.com> References: <27085883.0110191714.784d3d25@posting.google.com> <9r25o0$fla$1@nh.pace.co.uk> NNTP-Posting-Host: p-606.newsdawg.com X-Newsreader: Direct Read News 2.90 Xref: archiver1.google.com comp.lang.ada:15057 Date: 2001-10-22T17:52:25-07:00 List-Id: In article <9r25o0$fla$1@nh.pace.co.uk>, "Marin says... > 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. > When Java came out, everyone was so excited about it, and how much more reliable it was, more than C, and the most common thing sited was that it detected array overrun conditions are run-time, wow! as if this was a new concept, and Ada had that for 15 years before Java was born. Yes, Ada does even more today than Java/C/C++. None of those other languages for example will detect a floating point overflow/underflow at run-time, but Ada will.