Annotations
Kagamin
spam at here.lot
Tue Jul 28 02:18:26 PDT 2009
Andrei Alexandrescu Wrote:
> >> What prevents us from doing
> >> more generic annotations with syntax like @property?
> >>
> >
> > Walter. No one's been able to convince him they're useful.
>
> Then someone better put forward a good argument.
.Net framework is one big good argument, here are some usecases:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=94070
http://msdn.microsoft.com/en-us/library/xtwkdas5.aspx
How do you plan to control serialization? Renaming elements? Serializing to attributes? Defining namespaces?
List of attributes and their usage:
http://msdn.microsoft.com/en-us/library/system.attribute.aspx#familyToggle
More information about the Digitalmars-d
mailing list