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,38fc011071df5a27 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-28 19:59:42 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsgate.duke.edu!newsfeed!wn13feed!wn12feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!sccrnsc01.POSTED!not-for-mail From: "Steve" Newsgroups: comp.lang.ada References: <6a90b886.0305262344.1d558079@posting.google.com> <3ED41344.7090105@spam.com> <3ED46D81.FF62C34F@0.0> <3ED46E07.4340CABC@0.0> <3ED4F3FD.A0EF7079@alfred-hilscher.de> Subject: Re: Ideas for Ada 200X X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: NNTP-Posting-Host: 12.211.13.75 X-Complaints-To: abuse@attbi.com X-Trace: sccrnsc01 1054177181 12.211.13.75 (Thu, 29 May 2003 02:59:41 GMT) NNTP-Posting-Date: Thu, 29 May 2003 02:59:41 GMT Organization: AT&T Broadband Date: Thu, 29 May 2003 02:59:41 GMT Xref: archiver1.google.com comp.lang.ada:37969 Date: 2003-05-29T02:59:41+00:00 List-Id: "Alfred Hilscher" wrote in message news:3ED4F3FD.A0EF7079@alfred-hilscher.de... > > [snip] > > > Yeah, but Ada urgently needs some operators like "++" and "--" (i++; > --i;) Personally I don't see much value in the "++" and "--" operators... but I do like the +=, -=, *=, /= operators. Occasionally I run into code that looks something like: production_total( total_class ).shift( shift_index ) := production_total( total_class ).shift( shift_index ) + count; That would read a lot cleaner as: production_total( total_class ).shift( shift_index ) += count; Yeah, you can write a function to do the same thing, but it is more work than just writing the code in the first form. BTW: It also turns that simple case of: i := i + 1; to i += 1; In my experience in C/C++ programming I have never encountered bugs due to the use of these operators. Your mileage may vary. Steve (The Duck) > ----------------------------------------------------- > To send me mail, please replace "Spam" by "Jedermann" > -----------------------------------------------------