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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a6fe9ef21ba269dc X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!a4g2000prm.googlegroups.com!not-for-mail From: Anh Vo Newsgroups: comp.lang.ada Subject: Re: Ada Smileys in C++ lib Conversion Date: Fri, 13 Aug 2010 09:53:52 -0700 (PDT) Organization: http://groups.google.com Message-ID: <9b88e5a4-c588-4997-ad5c-2efa216fe4f4@a4g2000prm.googlegroups.com> References: <1a9b39b0-73f6-497c-a8f4-abf8129886ac@t20g2000yqa.googlegroups.com> NNTP-Posting-Host: 149.32.224.33 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1281718432 21604 127.0.0.1 (13 Aug 2010 16:53:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 13 Aug 2010 16:53:52 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a4g2000prm.googlegroups.com; posting-host=149.32.224.33; posting-account=Qh2kiQoAAADpCLlhT_KTYoGO8dU3n4I6 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB6.5; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.2; MS-RTC LM 8),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:13228 Date: 2010-08-13T09:53:52-07:00 List-Id: On Aug 13, 7:20=A0am, Warren wrote: > it immediately identified the value MC_CTL_LOCAL_C > (and others) as not fitting into the Control_Type's > valid range. In C++ a glaring error had gone > unnoticed: [...] > I'm always smiling when I convert code from C/C++ to > Ada. In code of any significant size, Ada always > discovers problems that went unnoticed in C/C++. > I am smiling, too, since I am not surprised at all. When someone asks me what difference between computer languages especially between Ada and C/C++, I tell him Ada has 75% check at compile time and 25% and runtime while C/C++ in reverse. Anh Vo