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,703c4f68db81387d X-Google-Thread: 109fba,703c4f68db81387d X-Google-Thread: 115aec,703c4f68db81387d X-Google-Thread: f43e6,703c4f68db81387d X-Google-Attributes: gid103376,gid109fba,gid115aec,gidf43e6,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!wn13feed!worldnet.att.net!12.120.4.37!attcg2!ip.att.net!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada,comp.lang.c++,comp.realtime,comp.software-eng Subject: Re: Teaching new tricks to an old dog (C++ -->Ada) Date: 23 Mar 2005 15:37:37 -0600 Organization: LJK Software Message-ID: References: <4229bad9$0$1019$afc38c87@news.optusnet.com.au> <1111607633.301232.62490@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1111613801 4437 192.135.80.34 (23 Mar 2005 21:36:41 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Wed, 23 Mar 2005 21:36:41 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:9836 comp.lang.c++:46917 comp.realtime:1636 comp.software-eng:5239 Date: 2005-03-23T15:37:37-06:00 List-Id: In article <1111607633.301232.62490@z14g2000cwz.googlegroups.com>, "Jerry Coffin" writes: > Some of the cited cases provide checks that are free in terms of > run-time, but run-time is hardly the major cost in most software. Really ? Even programs I write for my own personal use are run _many_ more times than they are compiled. Personally, I often spend compile time thinking some more about the problem, sometimes to good advantage :-) > Just for one obvious example, Ada doesn't provide an easy way to > express/do most of the things one can do with the C or C++ > preprocessor. It does not provide a preprocessor, for safety reasons. But what programming step (as distinguished from construction trick) can only be performed from a preprocessor ? > Some areas are somewhat more questionable -- calling a class a "tagged > record" is clearly a mistake, but it's open to question whether it > should be classified under poor expression of the concept, or just > general idiocy. I see no mistake. Is it possible your background in Pascal is inadequate and overwhelmed by your background in C* languages.