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!news4.google.com!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!bnewspeer01.bru.ops.eu.uu.net!bnewspeer00.bru.ops.eu.uu.net!emea.uu.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Fri, 18 Feb 2011 12:56:33 +0100 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: What's wrong with C++? References: <104cfd9f-dbf5-4f05-9c4a-a2319dd371a9@glegroupsg2000goo.googlegroups.com> <4d5d0c16$0$6972$9b4e6d93@newsspool4.arcor-online.net> <065e06c2-13df-4ef0-8e71-e0f835f7380f@8g2000prt.googlegroups.com> In-Reply-To: <065e06c2-13df-4ef0-8e71-e0f835f7380f@8g2000prt.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4d5e5e71$0$6875$9b4e6d93@newsspool2.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 18 Feb 2011 12:56:33 CET NNTP-Posting-Host: dc2302d3.newsspool2.arcor-online.net X-Trace: DXC=F4C5WVH8G:LE4ZB2flKORAA9EHlD;3YcB4Fo<]lROoRA8kFJLh>_cHTX3jM>\OgEYM2]`O X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:17419 Date: 2011-02-18T12:56:33+01:00 List-Id: On 18.02.11 12:34, richard wrote: >> Make "+" a little more obscure (if possible) and have >> a proponent of Ada look for the error... >> >> Or talk about the possibility (or not) of changing the >> definition of Integer temporarily to a debugging version >> of Integer whose operations we can trace. > We do not use predefined type integer in production code. If you > define your own constrained integer type, this is not likely to be a > problem. I take that as an example of why neither C++ nor Ada can be used without additional rules made to prevent dangerous situations from occurring. However, the rules might differ, in quantity and in quality. To me, a more interesting question concerns less hypostatized circumstances: Given real world programming capacity, measurable in terms of cost, degree of success, etc., what are the effects, as measured in projects using either language, of: - given rule set - programmer education - language facilities - actual/idiomatic/dominant use?