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,fc52c633190162e0 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Newsgroups: comp.lang.ada Subject: Re: why learn C? References: <1172144043.746296.44680@m58g2000cwm.googlegroups.com> <1172161751.573558.24140@h3g2000cwc.googlegroups.com> <546qkhF1tr7dtU1@mid.individual.net> <5ZULh.48$YL5.40@newssvr29.news.prodigy.net> <1175215906.645110.217810@e65g2000hsc.googlegroups.com> From: Markus E Leypold Organization: N/A Date: Fri, 30 Mar 2007 10:16:16 +0200 Message-ID: User-Agent: Some cool user agent (SCUG) Cancel-Lock: sha1:DzBy7Qp8ZnA1uIj6Dq+7C/A3U6I= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 88.72.239.156 X-Trace: news.arcor-ip.de 1175242159 88.72.239.156 (30 Mar 2007 10:09:19 +0200) X-Complaints-To: abuse@arcor-ip.de Path: g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor-ip.de!news.arcor-ip.de!not-for-mail Xref: g2news1.google.com comp.lang.ada:14681 Date: 2007-03-30T10:16:16+02:00 List-Id: "kevin cline" writes: > On Mar 20, 12:37 pm, wrote: >> "Marc Boyer" wrote in message > >> >> It has always seemed rather odd to me that people who are as intelligent >> as programmers, rarely question the silliness of using tools such as C >> and C++ for serious work. >> They simply take for granted that the kind >> of errors that are so common in those languages are somehow akin to >> the laws of nature. > > No, what actually happened is that expert C++ developers learned to > use C++ in such a way that those errors can not happen. While it is > possible to write unsafe code in C++, it is also possible to adopt > coding guidelines that makes it easy to find and eliminate unsafe > code, and for most applications, that's quite good enough. One reason > that experts choose C++ over Ada for performance-critical applications > because C++ templates allow compile-time type safety in high-level > code in a way that Ada generics do not. Wow. This is like looking into your gasoline tank with a cigarette lighter for illumination. Regards -- Markus