Path: news.daimi.aau.dk!news.uni-c.dk!news From: etiaseti@inet.uni-c.dk (Peter Juhl) Newsgroups: comp.lang.beta Subject: Re: Templates Date: 23 Oct 1995 08:03:26 GMT Organization: News Server at UNI-C, Danish Computing Centre for Research and Education. Lines: 26 Message-ID: <46fi8e$ruh@news.uni-c.dk> References: NNTP-Posting-Host: arhppp23.uni-c.dk X-Newsreader: AIR News 3.X (SPRY, Inc.) > carroll@auriga.cis.udel.edu (Mark C. Chu-Carroll) writes: MC> A template specifies an *untyped parameterized textual replacement* MC> which can be instantiated to generate real code. It's a *nasty* MC> mechanism. MC> MC> There's a number of problems with it. For details, ask anyone who's MC> tried using template code - most of us who've gone through that agony MC> have horror stories. The central problem is the fact that it's an MC> untyped mechanism in a strongly typed language - you end up getting MC> some incomprehensible type errors as a result of template MC> instantiations that generate type incorrect code. MC> >>>> I do not have any such horror stories, maybe you can supply some for future reference. And I have used templates quite heavily in my code. --- peter Peter Juhl etiaseti@inet.uni-c.dk