Reddit: why aren't people using D?

Nick Sabalausky a at a.a
Mon Jul 27 19:44:56 PDT 2009


"grauzone" <none at example.net> wrote in message 
news:h4lnpn$11h$1 at digitalmars.com...
> grauzone wrote:
>> That said, it would be really convenient for mixed compile time/runtime 
>> meta programming to be able to associate additional information to a 
>> method or a field. Like marking a method as property. Java and C# have 
>> attribute syntax for this. This would be useful for reflection, 
>> serialization, IDEs, and other modern day crap like this.
>
> Oops, "annotations" is the term in use, not "attributes".

Either way. Java calls them annotations, C# calls them attributes. 





More information about the Digitalmars-d mailing list