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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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-05-29 23:52:14 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!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Ideas for Ada 200X Date: Fri, 30 May 2003 08:13:56 +0200 Organization: AdaCL Message-ID: <12407013.TRm0SXE9Zq@linux1.krischik.com> References: <6a90b886.0305262344.1d558079@posting.google.com> <3ED41344.7090105@spam.com> <3ED46D81.FF62C34F@0.0> <3ED46E07.4340CABC@0.0> <3ED4F3FD.A0EF7079@alfred-hilscher.de> <1138545.LxB10ZPFul@linux1.krischik.com> Reply-To: martin@krischik.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1054277501 02 16147 xpDbVC4bTUY2ow 030530 06:51:41 X-Complaints-To: usenet-abuse@t-online.de X-ID: r2UPU+Z-QeWlF828zJzH0+CwO1n9sjOmTwxMnszZ51xvVv8c3GdNwq User-Agent: KNode/0.7.2 Xref: archiver1.google.com comp.lang.ada:38040 Date: 2003-05-30T08:13:56+02:00 List-Id: Hyman Rosen wrote: > Martin Krischik wrote: > > Thats what optimizers are for. Im my opinion K&R hadn't been >> very capable at all. > > Optimizers are for denying programmers the ability to express > their intent? Even in COBOL you could say 'ADD 1 TO I.' It > sounds like Ada is one of those stores in Lake Wobegone - > If We Don't Have It, You Don't Need It. I use far more C++ then Ada in my live and the "++" and "+=" operator is somthing I can live without. I := I + 1 expreses my intend just as well. Of course if one would add a 'Inc Attribute or an "inc" operator (similar to the "not" operator) then this would be quite Ok by me. But it is syntatic shugar and not relay needed. And the point about K&R is that they considered it essential to have a "++" operator. Not as syntatic shugar but as an essential part of generating better code. On the other hand I am missing a lot of Ada features in C++. With Regards Martin -- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com