Annotations for language features

Bruce Chapman brucechapman at paradise.net.nz
Mon Aug 17 02:48:17 PDT 2009


> (quick: Name a java 1.5 language feature that could have  
> been done with annotations instead. I can't think of even one!) - but  
> where annotations fit, the AST building process does not have to  
> change at all - much easier for IDE developers.
>
>   

Just to be a pedantic off topic prick and answer your rhetorical 
question - it would have been way better if the annotation facility's 
"single element annotation" (where you omit the Identifier and = before 
the element value) had been designed to use an annotation to mark which 
element this applied to (rather than using the magic name "value")

Bruce





More information about the coin-dev mailing list