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.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,582dff0b3f065a52 X-Google-Attributes: gid109fba,public X-Google-Thread: 1014db,582dff0b3f065a52 X-Google-Attributes: gid1014db,public X-Google-Thread: 103376,bc1361a952ec75ca X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-07 09:21:10 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++ From: Ted Dennison References: <3b690498.1111845720@news.worldonline.nl> <9kbu15$9bj@augusta.math.psu.edu> <9kbvsr$a02@augusta.math.psu.edu> <3B69DB35.4412459E@home.com> Subject: Re: How Ada could have prevented the Red Code distributed denial of service attack. Message-ID: X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Tue, 07 Aug 2001 12:20:57 EDT Organization: http://www.newsranger.com Date: Tue, 07 Aug 2001 16:20:57 GMT Xref: archiver1.google.com comp.lang.ada:11509 comp.lang.c:72704 comp.lang.c++:80670 Date: 2001-08-07T16:20:57+00:00 List-Id: In article , Bart.Vanhauwaert@nowhere.be says... > >Warren W. Gay VE3WWG wrote: >> Array bounds as you need them (C/C++ and Java still insist that you start >> at zero and work up). (PL/I could have different bounds too). > >This seems a minor advantage. In fact, I consider the uniformity >and advantage. Less possibility for off by one errors (did they start >at 0 or at 1? I am too lazy to check, let's just assume 1, etc) That's why we use 'First and 'Last in Ada. So we have both the advantage you quote, and the one you discount. :-) --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html home email - mailto:dennison@telepath.com