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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d901a50a5adfec3c X-Google-Attributes: gid103376,public X-Google-Thread: 1094ba,9f0bf354542633fd X-Google-Attributes: gid1094ba,public From: jbs@yktvmv.watson.ibm.com Subject: Re: Fortran or Ada? Date: 1998/09/25 Message-ID: <19980925.185359.250@yktvmv.watson.ibm.com>#1/1 X-Deja-AN: 394903509 References: <36068E73.F0398C54@meca.polymtl.ca> <6u8r5o$aa4$1@nnrp1.dejanews.com> <360A3446.8AD84137@lmco.com> <6udre0$ha1$1@nnrp1.dejanews.com> Organization: IBM Newsgroups: comp.lang.fortran,comp.lang.ada Date: 1998-09-25T00:00:00+00:00 List-Id: In article <6udre0$ha1$1@nnrp1.dejanews.com>, on Thu, 24 Sep 1998 16:19:12 GMT, dewarr@my-dejanews.com writes: >Jeff Templon wrote: >> >> 2) you have to be more careful since with a big language, it is >> easier to make a mistake in writing the program which turns out >> to be valid syntax for some feature you didn't know about. > >Well it is certainly a design point of Ada to avoid situations >in which small lexical errors cause major differences in the >meaning of a program, and I think it achieves this goal pretty >well. Certainly better than C > > for (i = 1; i < 10; i ++); > a[i] = i; > >or Fortran: > > Do 10 i = 1.6 > >the latter being the (in)famous bug at the heart of the urban >legend that the Venus probe died because of this bug :-) > >-----== Posted via Deja News, The Leader in Internet Discussion ==----- >http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum How come Fortran keeps getting blamed for a rocket failure it didn't cause while no one blames Ada for the Ariane 5 failure which it arguably did cause (Ada detected and mishandled a harmless integer overflow which most Fortrans would have ignored)? James B. Shearer