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: dewarr@my-dejanews.com Subject: Re: Fortran or Ada? Date: 1998/09/25 Message-ID: <6ueo44$ga0$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 394550827 References: <6ue7kp$61k@boofura.swcp.com> X-Http-Proxy: 1.0 x8.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Fri Sep 25 00:28:52 1998 GMT Newsgroups: comp.lang.fortran,comp.lang.ada X-Http-User-Agent: Mozilla/2.02 (OS/2; I) Date: 1998-09-25T00:00:00+00:00 List-Id: In article <6ue7kp$61k@boofura.swcp.com>, walt@fortran.com wrote: > dewarr@my-dejanews.com wrote: > > > 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 . . . > > > > . . . 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 :-) > > By Fortran, you must mean Fortran 77 because there are three > features in Fortran 90/95 that will cause this to be classified > as an error: > > 1. implicit none (causing Do10i to be caught as an undeclared > variable) > > 2. Significant blanks in the free source form (making the > statement illegal syntactially) > > 3. Use of do-end do form instead of those old-fashioned labels > (in which case a syntactially illegal do statement will > produce an end do with no matching do). > > BTW, I think Ada is (also) a great language. But aren't all these three optional? And indeed the first two are very strange options indeed, necessitated by the gods of compatibility, right? -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum