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,d2f0af5e440b367f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-25 03:40:16 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!tdsnet-transit!newspeer.tds.net!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: proposal for new assignment operators Date: 25 Jun 2003 05:39:59 -0500 Organization: LJK Software Message-ID: References: NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1056537565 20216 192.135.80.34 (25 Jun 2003 10:39:25 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Wed, 25 Jun 2003 10:39:25 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:39716 Date: 2003-06-25T05:39:59-05:00 List-Id: In article , 18k11tm001@sneakemail.com (Russ) writes: > As most of you are aware, several very popular programming languages, > such as C, C++, Java, Perl, and Python, have what are called > "assignment operators." The most important of these operators are > "+=", "-=", "*=", and "/=". > > On a recent thread, the usefulness of those operators was discussed in > detail, so I won't rehash it. Thanks for that, but don't assume we were all convinced. > One of the problems with adding these operators to Ada is that "/=" is > already used for "not equals." So I suggested that the Ada version of > these operators could be ":+", ":-", ":*", and ":/". I did not get > much of a reply, but I think it's an idea worth considering, so I am > repeating it here. For all I care, such operators could be !@#$^#$%^#$%, I would not understand them any less. Please do not assume that we all came from such a background. I have used C, but the warning in your first sentence is quite enough to make me steer clear of Java, Perl and Python. > These operators would be consistent with the ":=" assignment operator > of Ada, and I don't think they conflict with any established Ada > operator. I actually think they make *more* sense than the usual "+=" > type operators. I believe the term is "damning with faint praise".