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,11414a19b0e4a97a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!d37g2000yqm.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Advice on selling Ada to a C shop Date: Mon, 21 Jun 2010 02:58:54 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <101bf8f3-b823-45ee-9afd-40cbafb4b7a9@t26g2000prt.googlegroups.com> <9293ac0b-a7a4-4241-91f4-8b5ec6ac7a7c@x27g2000yqb.googlegroups.com> NNTP-Posting-Host: 153.98.68.197 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1277114334 20828 127.0.0.1 (21 Jun 2010 09:58:54 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 21 Jun 2010 09:58:54 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d37g2000yqm.googlegroups.com; posting-host=153.98.68.197; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:12817 Date: 2010-06-21T02:58:54-07:00 List-Id: Maciej Sobczak wrote on comp.lang.ada: > Last but not least - there is a difference between C and C++ and there > is a difference between respective communities as well, even if it's > usually forgotten on this group. If your fellows are "real C > programmes", you're doomed and forget about selling Ada to them - they > will just don't see the point, ever. Just forget. But if they are C++ > programmers and they already understand the importance of large-scale > constructs like namespaces, object-orientation, encapsulation, > abstraction, design patterns, controlled memory usage, and so on, then > this is where you can start your pitch, because they will already > understand what you're talking about and most importantly, they > already feel the need for such things. IMHO, there exists a subset of the "real C programmers" that can be sensitive to the quality afforded by Ada. This is the subset that understands that C is harmful and relies on "coding standards", "language subsets", "lint" and "code review" to reduce the amount of bugs they write. With C, all these tools and techniques are optional, non-standard add-ons to their toolchain. With Ada, they get it for free with the compiler. I like to think that the compiler does a code review every time I compile. In addition, Ada is amenable to even more thorough automatic code checking (see AdaControl, GNAT Checker, CodePeer). -- Ludovic Brenta. "Examples of languages generally recognised to be more suitable than C are Ada and Modula 2. If such languages could be available for a proposed system then their use should be seriously considered in preference to C." MISRA, "Guidelines For The Use Of The C Language In Vehicle Based Software", 1998, Section 1.3.