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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,971aa11c293c3db1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-20 10:00:06 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!195.158.233.21!news1.ebone.net!news.ebone.net!news.ipartners.pl!news.nask.pl!news.tpi.pl!not-for-mail From: taw@pb220.legnica.sdi.tpnet.pl (Tomasz Wegrzanowski) Newsgroups: comp.lang.ada Subject: Re: Ada The Best Language? Date: 20 Jul 2001 16:46:55 GMT Organization: tp.internet - http://www.tpi.pl Message-ID: <9j9n9v$djt$1@news.tpi.pl> References: <3B59CD72@MailAndNews.com> <9j749o$lmp$7@news.tpi.pl> Reply-To: taw@users.sourceforge.net NNTP-Posting-Host: pb220.legnica.sdi.tpnet.pl X-Trace: news.tpi.pl 995647615 13949 213.25.230.220 (20 Jul 2001 16:46:55 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: 20 Jul 2001 16:46:55 GMT User-Agent: slrn/0.9.7.1 (Linux) Xref: archiver1.google.com comp.lang.ada:10352 Date: 2001-07-20T16:46:55+00:00 List-Id: In article , Lutz Donnerhacke wrote: > * Tomasz Wegrzanowski wrote: >>`operator=' improves readability if left side is non-trivial. >> >>Example: >>A->foo[1].start.x = A->foo[1].start.x % 640; >>A->foo[1].start.x %= 640; > > declare > w : myType renames A.foo(1).start.x; > begin > w := w mod 640; > end; That's evil and takes 5 lines instead of just 1. >>Compiler (at least gcc) warns when you screw formants. > > printf is an runtime interpreter. That's ugly. Almost all printfs are compile-time printfs. Complire could as well support printf or equivalent.