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-Thread: 103376,ab1d177a5a26577d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: What's wrong with C++? Date: Wed, 16 Feb 2011 14:35:11 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <1ee1a434-4048-48f6-9f5e-d8126bebb808@r19g2000prm.googlegroups.com> <4d5c105a$0$32660$882e7ee2@usenet-news.net> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1297884911 1060 192.74.137.71 (16 Feb 2011 19:35:11 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Wed, 16 Feb 2011 19:35:11 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:f/NknP4DQ8GW6SGcTtTj0dIvCAc= Xref: g2news1.google.com comp.lang.ada:17305 Date: 2011-02-16T14:35:11-05:00 List-Id: Hyman Rosen writes: > A second problem is that C++ leaves the order of evaluation of > subexpressions in an expression undefined, unlike Java. Ada shares this flaw with C++. The reason is to allow the compiler to choose the most efficient order. But I think it's possible to design a language that gets the best of both worlds (allow that sort of efficiency, without the portability problems). - Bob