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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c406e0c4a6eb74ed X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews2.google.com!not-for-mail From: kevin.cline@gmail.com (Kevin Cline) Newsgroups: comp.lang.ada Subject: Re: ADA Popularity Discussion Request Date: 14 Sep 2004 10:14:47 -0700 Organization: http://groups.google.com Message-ID: References: <49dc98cf.0408110556.18ae7df@posting.google.com> <413e2fbd$0$30586$626a14ce@news.free.fr> <1371289.WCcgO7lass@linux1.krischik.com> NNTP-Posting-Host: 198.23.26.253 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1095182088 11722 127.0.0.1 (14 Sep 2004 17:14:48 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 14 Sep 2004 17:14:48 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:3729 Date: 2004-09-14T10:14:47-07:00 List-Id: Georg Bauhaus wrote in message news:... > Kevin Cline wrote: > It seems that now that the power of C++ templates has been discovered, > hardly anyone can live without this power. One might ask how programming > problems have been solved in C++ when there was no bag of template > tricks? Templates appeared pretty early in C++, and solved a lot of problems that used to be solved in C with preprocessor macros. Template specialization and template member functions came later. > OTOH, given the quality of error messages that compilers issue for > template code, why not employ a Lisp style processor that in addition > to delivering C++ code also displays error messages that do not need > template error message code analysis? :-) This is indeed a serious problem, and people are working on it. I don't think it's particular to C++ templates. Any interesting facility that generates code will have the same issues to some degree.