User Defined Attributes

Walter Bright newshound2 at digitalmars.com
Tue Nov 6 00:50:31 PST 2012


On 11/6/2012 12:42 AM, Walter Bright wrote:
> Since D allows one to inquire and get a list of symbols, one can then iterate
> over them at compile time to determine which are serializable (or have some
> other specific attribute).


To emphasize, the User Defined Attributes thing is completely a compile time 
feature. However, a user defined runtime system can be built on top of it.

It gives the best of both worlds.



More information about the Digitalmars-d-announce mailing list