What's wrong with D's templates?
retard
re at tard.com.invalid
Sat Dec 19 12:39:19 PST 2009
Sat, 19 Dec 2009 15:19:16 +0200, Yigal Chripun wrote:
> On 19/12/2009 01:08, retard wrote:
>> Sat, 19 Dec 2009 00:24:50 +0200, Yigal Chripun wrote:
>>
>>> to retard:
>>> different problems should be solved with different tools. Macros
>>> should be used for meta-programming and generics for type-parameters.
>>> they don't exclude each other. E.g. Nemerle has an awesome macro
>>> system yet it also has .net generics too.
>>> As the saying goes -"when all you got is a hammer everything looks
>>> like a nail" which is a very bad situation to be in. templates are
>>> that hammer while a much better approach is to go and by a toolbox
>>> with appropriate tools for your problem set.
>>
>> I didn't say anything that contradicts this.
>
> Did you read any arguing in the above? I thought I was agreeing with
> you.. :)
Ok, sorry :) It just sounded like a lecture. I was well aware of all
this. I sometimes forget that not everyone knows what we are discussing
here.
More information about the Digitalmars-d
mailing list