On 2012-11-08 17:53, simendsjo wrote:

I guess it depends. I find it easier to see that it's an attribute,
especially when you annotate it. But it's harder to grep for.

Is foo an attribute or not?
   @serializable
   @xmlRoot
   @attribute
   @displayName("foo")
   struct foo {}

Is foo an attribute or not?
   @serializable
   @xmlRoot
   @displayName("foo")
   struct @foo {}


I don't know really. In that bottom example, the struct declartion almost disappears among all the attributes.

--
/Jacob Carlborg

Reply via email to