So, User-Defined Attributes

bearophile bearophileHUGS at lycos.com
Sun Jan 6 07:17:35 PST 2013


Andrei Alexandrescu:

> <brokenrecord>For designing attributes that navigate with types 
> templates would be the solution of choice.</brokenrecord>

There's an interesting cognitive impercetion phenomena here, 
that's worth studying and not ignoring. From the little evidence 
here, it seems that D programmers want to use UDAs instead of 
templates for those purposes. Possibly because UDAs look more fit 
(despite you rightfully say they aren't).

Bye,
bearophile


More information about the Digitalmars-d mailing list