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-14 03:59:38 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!feed.news.nacamar.de!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Ideas for Ada 200X Date: Sat, 14 Jun 2003 10:59:37 +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 1055588377 13803 129.241.83.78 (14 Jun 2003 10:59:37 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Sat, 14 Jun 2003 10:59:37 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:39170 Date: 2003-06-14T10:59:37+00:00 List-Id: Russ wrote: > > I agree completely on Perl. I was not suggesting that Perl should be a > model for Ada in any way except its assignment operators. Python, on > the other hand, is known for its readability, and it has assignment > operators. However scripting languages are known for write optimisation. I don't know how many times I have seens discussions where somebody asks can somebody help me solve this in perl/bash whatever and then there are 3 good solutions and then a race starts to see who can write the whole thing in one line obscuring what is done so much that you cannot know except by testing it. > >> 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). > > You have a different interpretation of the facts than I do. OK perhaps but as has been said here: If an constraint error is raised the variable on the left side should not be changed. How do you get around this? > I just love you Ada guys. The five most popular general-purpose > languages in the world have it, yet it "has no merit." And you wonder > why your language is fading away! No I said "your quest" > Just for fun, I'd like to know how many programmers are now currently > using Ada and how many are using C, C++, Java, Python, or Perl. OK, > forget Python and Perl because they are not comparable. What do you > suppose the ratio is of current Ada programmers vs. C, C++, and Java > programmers? 20:1? 50:1? 100:1? How many do you expect will run to Ada if one get +:= ? Perhaps we should get C pointers etc... as well so that everybody comes running? > I personally appreciate Ada very much, and I am trying to keep it from > completely disappearing off the radar screen here where I work, but > I'm fighting an uphill battle. As I said before, Ada is completely > useless if it is not used. Yes, but if your pinning your hopes to adding some syntactic sugar I think you are barking up the wrong tree. -- Preben Randhol http://www.pvv.org/~randhol/