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,FREEMAIL_FROM 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-22 00:14: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: 22 Oct 2003 00:13:56 -0700 Organization: http://groups.google.com Message-ID: References: <1066311805.222491@master.nyc.kbcfp.com> <3F8F3077.60402@comcast.net> <3F900F35.50203@comcast.net> <3F92B607.809@comcast.net> <3F937806.9080205@comcast.net> NNTP-Posting-Host: 63.194.87.148 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1066806867 22555 127.0.0.1 (22 Oct 2003 07:14:27 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 22 Oct 2003 07:14:27 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:1373 Date: 2003-10-22T00:13:56-07:00 List-Id: Lutz Donnerhacke wrote in message news:... > * Russ wrote: > > "Robert I. Eachus" wrote in message news:<3F937806.9080205@comcast.net>... > >> in a nutshell. Chad even gave a perfect riposte, to the question of > >> side effects. The statement x += y += 1; is perfectly legal C, and I'll > >> let Russ choose what is the effect, and what is the side effect. > > > > I'll tell you exactly what the effect is: a compile error. > > You should learn even C before ranting any further. I was programming a state-of-the-art experimental real-time precision landing system in C++ 10 years ago. > > And I must say that I am a bit surprised that this is not obvious to you. > > Your attitude does not match you knowledge. That's not funny. > > > "+=" would be a procedure, and my understanding of procedures in Ada is > > that they do *not* return a value. > > Yep. But we talked about C in this paragraph. No, I wrote exclusively about Ada, except to point out that "x += y += 1" compiles in C but would not in Ada (if Ada had "+="). And that rendered Mr. Eachus's point irrelevant to Ada. I did *not* claim that "x += y += 1" would not compile in C. I do have your permission to discuss Ada here on comp.lang.ada, do I not? > > Am I missing something here? > > Yes: The language context. You're the one missing that. Look, folks, I'm trying my best to be polite, but you have to agree that this guy is seriously confused to say the least. And he seems to have some kind of personal animosity toward me. That's bad for your emotional health, dude.