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,54889de51045a215 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-17 07:42:34 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!uio.no!news-FFM2.ecrc.net!news.iks-jena.de!not-for-mail From: Lutz Donnerhacke Newsgroups: comp.lang.ada Subject: Re: += in ada Date: Fri, 17 Oct 2003 14:42:34 +0000 (UTC) Organization: IKS GmbH Jena Message-ID: References: <3F7316F7.219F@mail.ru> <17cd177c.0310010606.52da88f3@posting.google.com> <3F8BC74F.2CFBFF37@0.0> <1066312000.671303@master.nyc.kbcfp.com> <1066400493.692750@master.nyc.kbcfp.com> NNTP-Posting-Host: taranis.iks-jena.de X-Trace: branwen.iks-jena.de 1066401754 17254 217.17.192.37 (17 Oct 2003 14:42:34 GMT) X-Complaints-To: usenet@iks-jena.de NNTP-Posting-Date: Fri, 17 Oct 2003 14:42:34 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:1080 Date: 2003-10-17T14:42:34+00:00 List-Id: * Hyman Rosen wrote: > Lutz Donnerhacke wrote: >> Augmented assigments need a temporary as well as ordinary assigments of >> simple expressions. So your claim about unnecessary temporaries is plain >> wrong. > > If you're talking about Ada, augmented assignment operators don't > exist, so they cannot need anything. It's equally accurate to say > that every legal use of an augmented assignment operator in Ada > requires the sacrifice of a goat. It's silly to propose new syntactic elements that differs too much from the existing language. YMMV. I'd recomment "alias gnat=g++".