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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bc1361a952ec75ca X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-30 05:20:22 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!rcn!netnews.com!newsfeed.nyc.globix.net!newsfeed.sjc.globix.net!cyclone-sf.pbi.net!206.13.28.183!nnrp5-w.sbc.net.POSTED!not-for-mail Message-ID: <3B655222.2C33E6C6@sneakemail.com> From: Russ Paielli <18k11tm001@sneakemail.com> X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.3-20mdk i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: How to make Ada a dominant language References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 30 Jul 2001 05:25:06 -0700 NNTP-Posting-Host: 63.194.87.148 X-Complaints-To: abuse@pacbell.net X-Trace: nnrp5-w.sbc.net 996495621 63.194.87.148 (Mon, 30 Jul 2001 05:20:21 PDT) NNTP-Posting-Date: Mon, 30 Jul 2001 05:20:21 PDT Organization: SBC Internet Services Xref: archiver1.google.com comp.lang.ada:10726 Date: 2001-07-30T05:25:06-07:00 List-Id: Gautier Write-only-address wrote: > > >Honestly now, which of the following two statements is cleaner and > >clearer? > > > > count: integer := 0; -- old syntax > > > > integer: count = 0 -- new syntax > > "I declare count as an integer and set it to 0" > 1 2 3 > > Clearly the syntax with 1-2-3 order is the most > straightforward. Your idea of making the "equal" > operator become an assignement instruction smells > rather C or BASIC nostalgia than a meaningful new idea. With all due respect, I think long-time Ada programmers are simply so accustomed to the awkward syntax that they imagine it is more natural. Unfortunately, the awkward syntax is also one of the main reasons, I believe, that people are initially put off by Ada. And it is beyond me how anyone could imagine that ":=" is better than "=". Why not use "%=", "#=", or "#$%&=", for that matter? > I agree fully about your With/Use pair simplification, though. > It is on my wish list. > As for the syntax, you'd better invent a Python01... Guido beat me to it. Russ