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,1116ece181be1aea X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-26 12:57:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Is the Writing on the Wall for Ada? [although this thread changed to something else a long time ago] Date: Fri, 26 Sep 2003 14:59:10 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <3F67AAC6.2000906@attbi.com> <3F7024F8.1000102@crs4.it> <3F71A78A.5000701@crs4.it> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.lang.ada:43023 Date: 2003-09-26T14:59:10-05:00 List-Id: "Pascal Obry" wrote in message news:uwubvie8a.fsf@wanadoo.fr... > What about > > lwienfowowoenfnowoqnd += 1 > > and > > lwienfowowoenfnowoqnd := 1 > > How many chances there is to misread one for another in a real-world > application ? Exactly. An important part of Ada is that its syntax was designed (as much as possible) to make one character errors generate something illegal. For most constructs, it takes several characters of change to create something else legal. This is definitely not true of C-family syntax. And this is the root of Ada's philosphy, that small changes do not change the meaning of a program, they simply make it illegal. (Yes, Ada does allow arithmetic operators, for the obvious reason that it would have too weird to say "Add" instead of "+". And it certainly is clear that you can't get rid of all one character errors, at least as long as you allow numbers. But that doesn't eliminate the basic point.) Randy.