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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,28cd155693714664 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-18 19:19:28 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!212.74.64.35!colt.net!newspeer.clara.net!news.clara.net!psiuk-p2!psiuk-p3!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Faulty languages and Liability Date: Tue, 18 Jun 2002 10:15:48 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: References: <3D0DE5E2.5010904@mail.com> <27085883.0206171100.7f6f0c5e@posting.google.com> <3D0E461A.8050207@mail.com> <3D0EBC9F.9040104@mail.com> NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1024409750 24963 136.170.200.133 (18 Jun 2002 14:15:50 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 18 Jun 2002 14:15:50 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:26338 Date: 2002-06-18T14:15:50+00:00 List-Id: It would be neither criminal nor negligent to use a language without bounds checking. It *might* be negligent to use one without bounds checking and not manually insert the checks or otherwise certify via analysis or test that the bounds won't be exceeded. It is - or ought to be - very well understood in the industry that failure to check array bounds (via language, manual code, analysis or test) is a major source of easily prevented errors. You don't *have* to use Ada - it would just be cheaper to use a language that performed commonly accepted compile and/or runtime checks. MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com "Chad R. Meiners" wrote in message news:aendq2$2onk$1@msunews.cl.msu.edu... > It is okay to remove a check if you prove that the condition being checked > for can never happen. Anyway I don't think it would be criminal to use a > language without bounds checking; it would only be negligent. In some cases > this negligence would be criminal. >