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 X-Google-Thread: 103376,38fc011071df5a27 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-18 00:58:55 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!newspeer.lavaseals.co.uk!zen.net.uk!news.teledanmark.no!news.equant.no!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Ideas for Ada 200X Date: Wed, 18 Jun 2003 07:58:54 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <3EE7CC70.E1FD3A67@adaworks.com> <3EECA772.4B662024@adaworks.com> NNTP-Posting-Host: kiuk0152.chembio.ntnu.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: tyfon.itea.ntnu.no 1055923134 8544 129.241.83.78 (18 Jun 2003 07:58:54 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Wed, 18 Jun 2003 07:58:54 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:39379 Date: 2003-06-18T07:58:54+00:00 List-Id: Russ wrote: > > I think "+:=" is ugly too, but if it does the job I can get used to > it. Well I think C++'s += is ugly in the first place :-) > Yes, that is a problem, isn't it. I am tempted to suggest that /= > isn't really needed because you can always take a reciprical and use No you cannot always do a reciprical without running into rounding problems. Consider reduction of a matrix. > *=. But that would be slightly less efficient and, worse, the notation > would be inconsistent. So I guess /:= will do the job. How many programmers do you think that wouldn't do: A /= B; and then when the compiler complains they tear their hair out saying why why why? or they are trying to reuse some old code: if A /= B then and say "Hey! There is bug here." -- �It's probably worth pointing out that C's pointer arithmetic is not only dangerous, and a significant source of errors, but it also makes programs run slower.� - James Kanze on comp.lang.ada,comp.lang.c++.moderated