DIP6: Attributes

Don nospam at nospam.com
Mon Aug 3 08:29:27 PDT 2009


Steven Schveighoffer wrote:
> On Mon, 03 Aug 2009 09:26:21 -0400, Don <nospam at nospam.com> wrote:
> 
>> grauzone wrote:
>>> Don wrote:
>>>> Ary Borenszweig wrote:
>>>>> http://www.prowiki.org/wiki4d/wiki.cgi?LanguageDevel/DIPs/DIP6
>>>>
>>>> This looks like a solution in search of a problem. What's the 
>>>> problem being solved?

[snip]

> Annotations are useful in many ways, but without full reflection 
> capabilities, they are restricted to things that can read them via 
> source code, and so they are no better than comments.

This is a very, very important observation, and I think it belongs in 
the DIP. It means that it probably doesn't make much sense to implement 
annotations without also having an intention to implement full-blown 
reflection.



More information about the Digitalmars-d mailing list