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: 1094ba,9f0bf354542633fd X-Google-Attributes: gid1094ba,public X-Google-Thread: 103376,d901a50a5adfec3c X-Google-Attributes: gid103376,public From: dewarr@my-dejanews.com Subject: Re: Fortran or Ada? Date: 1998/09/25 Message-ID: <6uenvf$g9a$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 394550823 References: <36068E73.F0398C54@meca.polymtl.ca> <6u8r5o$aa4$1@nnrp1.dejanews.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:26:24 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 , Craig Burley wrote: > IMO, you're absolutely right. And, yes, a typo such as "**" for "*" > should produce a diagnostic, but I suspect both Fortran and C suffer > from this sort of thing much more than does Ada, simply because Ada > is a more recent language and was, I gather, more thoughtfully designed > than some other recent languages. Craig, surely you do not know Ada in writing the above! The character * never has syntactic significance other than as a multiplication operator, and ** is exponentiation. If you mean to write A : constant integer := B * 2; and you write A : constant integer := B ** 2; it sure is difficult to see why you would expect a diagnostic!!!! One could argue that it is unwise to use ** as exponentiation precisely because of this one character differentiation, but that seems a bit extreme to me! -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum