DIP6: Attributes

Steven Schveighoffer schveiguy at yahoo.com
Tue Aug 4 07:05:30 PDT 2009


On Tue, 04 Aug 2009 09:45:51 -0400, grauzone <none at example.net> wrote:

> Steven Schveighoffer wrote:
>> don't think it's worth adding them until we can have full reflection  
>> capabilities so we can get at elements of code and therefore get the  
>> annotations associated with it.  I see much more usefulness for  
>> annotations as reflection hints than as a replacement for keywords.
>
> But we already have full reflection. It's called __traits. You can build  
> a serialization library or "proper" (user friendly?) reflection on top  
> of it.

I think you are the 1 millionth person to say it, and yet we still do not  
have a "user friendly" reflection system.  Why is that?  You'd think that  
if it could be done, somebody would have done it by now.

-Steve



More information about the Digitalmars-d mailing list