What's wrong with D's templates?

Yigal Chripun yigal100 at gmail.com
Sat Dec 19 05:19:16 PST 2009


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.. :)



More information about the Digitalmars-d mailing list