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,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-19 18:14:34 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: mjsilva697@earthlink.net (Mike Silva) Newsgroups: comp.lang.ada Subject: Have you ever had a bug caused by... Date: 19 Oct 2001 18:14:34 -0700 Organization: http://groups.google.com/ Message-ID: <27085883.0110191714.784d3d25@posting.google.com> NNTP-Posting-Host: 209.179.254.139 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1003540474 26672 127.0.0.1 (20 Oct 2001 01:14:34 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 20 Oct 2001 01:14:34 GMT Xref: archiver1.google.com comp.lang.ada:14948 Date: 2001-10-20T01:14:34+00:00 List-Id: 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