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> <1175230700.925143.28490@n59g2000hsh.googlegroups.com> <6XbPh.4025$u03.802@newssvr21.news.prodigy.net> <1175491660.511530.58430@y80g2000hsf.googlegroups.com> <1175566924.442636.199470@o5g2000hsb.googlegroups.com> <4dr6qpo9b7.fsf@hod.lan.m-e-leypold.de> From: Markus E Leypold Organization: N/A Date: Sun, 15 Apr 2007 17:28:45 +0200 Message-ID: <7i1wil8xn6.fsf@hod.lan.m-e-leypold.de> User-Agent: Some cool user agent (SCUG) Cancel-Lock: sha1:rwkgPUJj9cxISoMvfLZ5TSotwg0= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 88.72.204.228 X-Trace: news.arcor-ip.de 1176650475 88.72.204.228 (15 Apr 2007 17:21:15 +0200) X-Complaints-To: abuse@arcor-ip.de Path: g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed0.kamp.net!newsfeed.kamp.net!news.unit0.net!newsfeed.arcor-ip.de!news.arcor-ip.de!not-for-mail Xref: g2news1.google.com comp.lang.ada:15043 Date: 2007-04-15T17:28:45+02:00 List-Id: Hyman Rosen writes: > Markus E Leypold wrote: >> the inferiority of the automatic instantion approach. > > In C++ the "identity" of an instance needs to be determined > > by the parameters. In Ada (and many other languages with > > functors) by the act of instantiation. > > But without the C++ way of identity, and without specialization, > the language cannot do template metaprogramming, as is impossible > in Ada. That's a trade-off I'll gladly make. Me too. I'll gladly forgo "template metaprogramming" for explicit instantition. >> Groan. How ugly. > > Well, maybe they'll add it in one day. But, Lord knows, this isn't > the ugliest workaround that C++ requires. No. Which in itself speaks volumes. C++ is only a big workaround (around the deficiencies of C when use how it wasn't designed: As a high level language). Regards -- Markus