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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FREEMAIL_REPLY autolearn=no 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-14 11:00:49 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: 18k11tm001@sneakemail.com (Russ) Newsgroups: comp.lang.ada Subject: Re: += in ada Date: 14 Oct 2003 11:00:49 -0700 Organization: http://groups.google.com Message-ID: References: <3F7316F7.219F@mail.ru> <49cbf610.0310070205.2937e71a@posting.google.com> <49cbf610.0310101231.2358762a@posting.google.com> NNTP-Posting-Host: 128.102.146.44 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1066154449 20302 127.0.0.1 (14 Oct 2003 18:00:49 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 14 Oct 2003 18:00:49 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:846 Date: 2003-10-14T11:00:49-07:00 List-Id: dmytrylavrov@fsmail.net (Dmytry Lavrov) wrote in message news:<49cbf610.0310101231.2358762a@posting.google.com>... > 18k11tm001@sneakemail.com (Russ) wrote in message news:... > > Preben Randhol wrote in message news:... > > > On 2003-10-07, Russ <18k11tm001@sneakemail.com> wrote: > > > > Repeat after me: Augmented assignment is available and WIDELY USED in > > > > C, C++, Java, Perl, and Python, perhaps the 5 most popular > > > > general-purpose programming languages ever designed. Is it *possible* > > > > that 98% of the programmers out there might know *something* that Ada > > > > programmers don't? > Here you're saying: let's be with masses,masses can't make mistakes. OK, I can see how you could have misunderstand my point here, so let me clarify. I am *not* claiming that augmented assignment operators (":+", ":-", ":*", ":/") are good *because* 98% of programmers use them. What I am claiming is that 98% of programmers use them *because* they are a good idea. And I have given three good reasons why augmented assignment operators can enhance both readability and efficiency. I won't go over them again here because if you don't get it by now you never will. > I'm is a beginner in ada,moving from Free Pascal(and also i can code > in java and c) where(if FP too) += are supported, and I DON'T WANT += > . > Even beginners don't want it! This is precisely the attitude that bothers me. I spend all kinds of time carefully explaining why the five most popular programming languages all have augmented assignment, and all I get back is, "I don't like it!", " I don't want it!", and "Even beginners don't want it!" No rational reason given. The only rational reply I have received so far is that augmented assignment operators are too much effort to implement. Well, they obviously weren't too much effort for C, C++, Java, Perl, and Python. It's really too bad that Ada is so strapped for support. That obvously doesn't bode well for the future of Ada.