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.7 required=5.0 tests=BAYES_00,MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a080379464bf9c25 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-10-18 21:50:07 PST Path: supernews.google.com!sn-xit-02!supernews.com!bignews.mediaways.net!blackbush.xlink.net!newsfeed01.sul.t-online.de!t-online.de!fr.clara.net!small.fr.clara.net!news-hub.siol.net!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: mjsilva@my-deja.com Newsgroups: comp.lang.ada Subject: Re: Tribute to Ada from C++ Advocate Date: Thu, 19 Oct 2000 04:38:31 GMT Organization: Deja.com - Before you buy. Message-ID: <8slts7$6om$1@nnrp1.deja.com> References: <39EE600A.391B58C2@ix.netcom.com> NNTP-Posting-Host: 209.239.210.230 X-Article-Creation-Date: Thu Oct 19 04:38:31 2000 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; Compaq; DigExt) X-Http-Proxy: 1.1 x52.deja.com:80 (Squid/1.1.22) for client 209.239.210.230 X-MyDeja-Info: XMYDJUIDmjsilva Xref: supernews.google.com comp.lang.ada:1398 Date: 2000-10-19T04:38:31+00:00 List-Id: In article <39EE600A.391B58C2@ix.netcom.com>, Lao Xiao Hai wrote: > One of my favorite books on C++ is Effective C++ by Scott Meyers > (Addison-Wesley). > > Here is an informative paragraph from Scott Meyer's book. (p 224, > Second Edition) > > "As long as we're on the topic of warnings, recall that warnings are > inherently implementation > dependent, so it's not a good idea to get sloppy in your programming, > relying on compilers > to spot your mistakes for you. The function-hiding code above, for > instance, goes through > a different (but widely-used) compiler with nary a squawk. Compilers > are suposed to > translate C++ into an executable format, not act as your personal safety > net. You want > that kind of safety? Program in Ada." Wonder if he feels more favorable towards safety nets when he's at 35,000 feet with his wife and kids? All perfect programmers please take one step forward... Sent via Deja.com http://www.deja.com/ Before you buy.