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-19 18:44:34 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.cwix.com!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Have you ever had a bug caused by... Date: 19 Oct 2001 20:44:31 -0500 Organization: LJK Software Message-ID: References: <27085883.0110191714.784d3d25@posting.google.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1003542274 32424 192.135.80.34 (20 Oct 2001 01:44:34 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Sat, 20 Oct 2001 01:44:34 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:14949 Date: 2001-10-19T20:44:31-05:00 List-Id: In article <27085883.0110191714.784d3d25@posting.google.com>, mjsilva697@earthlink.net (Mike Silva) writes: > While discussing (er, pushing) Ada with some C-coding co-workers today > I asked a question to which I knew the answer (always the best kind!): > "Have you ever had a bug caused by accessing off the end of an > array?" Well, of course, they all had to say yes. Then I started > thinking of other bugs that they would have to admit to, and which > wouldn't occur in Ada. Nothing new here (Ada prevents many bugs...), > but I thought it would be fun and useful to develop a group list as an > Ada advocacy tool. For example: > > > Have you ever had a bug caused by accessing off the end of an array? > > Have you ever had a bug caused by an implicit type conversion? > > Have you ever had a bug caused by a variable getting set to a value > outside its designed range? > > Have you ever had a bug caused by different type sizes on different > platforms? > > Have you ever had a bug caused by mixing incompatible types? > > Have you ever had a bug caused by passing parameters of incorrect > types? > > Have you ever had a bug caused by passing parameters in an incorrect > order? > > Have you ever had a bug caused by different data structure ordering on > different platforms? > > > And so on. It might also be nice to have a section of "Have you ever > wished you could..." questions. > > Anyway, such a list strikes me as a potentially useful piece of > advocacy, should anybody want to offer contributions. > > Mike Have you ever had a bug caused by changing the list of parameters to a subroutine in many places, but missing one ?