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-19 16:59:03 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: 19 Oct 2003 16:59:02 -0700 Organization: http://groups.google.com Message-ID: References: <1066224357.499523@master.nyc.kbcfp.com> <1066231159.711433@master.nyc.kbcfp.com> <1066311805.222491@master.nyc.kbcfp.com> <3F8F3077.60402@comcast.net> <3F900F35.50203@comcast.net> <3F92B607.809@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 1066607943 32001 127.0.0.1 (19 Oct 2003 23:59:03 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 19 Oct 2003 23:59:03 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:1159 Date: 2003-10-19T16:59:02-07:00 List-Id: "Robert I. Eachus" wrote in message news:<3F92B607.809@comcast.net>... > Russ wrote: > > > I simply do not understand your reasoning here. How does "+=" (or > > ":+") have any more side effects than "Inc" or "++"? They are all just > > procedures. Please give me an example where "+=" has a side effect > > that "Inc" or "++" cannot have. Until you do, I think you may have > > just exposed the irrationality of your objection to augmented > > assignment operators. > > This is what you continue to just not get. Either the addition is a > side effect of the assignment, or the assignment is a side effect of the > addition. I don't care that you don't think that way. My point is that > Ada programmers think that way, and it makes += very ugly. It may be, > from your point of view, irrational, stupid, crazy, etc., but I don't > care. Nor do most Ada programmers. You said that "+=" has more side effects than "Inc" or "++", and I challenged you for an example where "+=" has a side effect that "Inc" or "++" cannot have. I'm still waiting for your example, and I have a feeling I'll be waiting for quite a while. Your main argument against "+=" is hollow. The only argument you have left is that "Ada programmers think that way". You guys can gang up on me all you want, but the fact is that you are the ones with the hard heads, and your attitude is allowing a promising language to die or languish in the shadows. Here's a word of advice for all you young programmers out there (if there are any here). Don't get too attached to Ada, because your job prospects as an Ada programmer in the next 20 years will be slim to none. No, its not just because Ada doesn't have "+=", but it *is* because of the attitude that refuses to add it, and compares such a minor addition to the language to a "9.5 on the Richter scale." Congratulations, Mr. Eachus, you've won the battle. But you (and all the other regulars on this tiny little newsgroup) are losing the war. You are developing the perfect language that nobody (except people named Preben) will use any more unless they are forced to maintain legacy code to feed themselves. Ada will be the COBOL of the next generation -- except that it won't be used nearly as much.