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,38fc011071df5a27 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-13 04:31:17 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!newsfeed.freenet.de!easynews.net!newsfeed3.easynews.net!newsfeed.vmunix.org!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Ideas for Ada 200X Date: Fri, 13 Jun 2003 11:31:16 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <6a90b886.0305262344.1d558079@posting.google.com> <3EE7CC70.E1FD3A67@adaworks.com> NNTP-Posting-Host: kiuk0152.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1055503876 8823 129.241.83.78 (13 Jun 2003 11:31:16 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Fri, 13 Jun 2003 11:31:16 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:39093 Date: 2003-06-13T11:31:16+00:00 List-Id: Russ wrote: > If Ada insists on bucking the norm just to be different, I won't be > surprised if it continues to fade away, and that would be a shame. Ada insists to follow its design goals which is lacking in the other languages. Just look at Perl. It is a Write-once-Never-Read language. I'm sure you can find some nice one liners in Perl which does a lot and say "Hey! writing like we do in Ada is redundant, just look how small the code can be if we just put in a lot of whitespaces" You originally wanted A += B because it was more efficient than A = A + B in your C++ code. Now you have been shown that one cannot make the += in Ada due to restrictions in the languages, so your road is then to use a procedure which will solve any efficiency problems (although people have shown the gain is not big nor is it certain you will have a gain depending on hardware and software implementation). However if you just want to add A += B as syntactic sugar for A := A + B so you don't have to write the whole thing, I think your quest has no merits. -- Preben Randhol http://www.pvv.org/~randhol/