On 2012-04-06 12:12, Walter Bright wrote:

I don't see the need for creating a new kind of symbol.

If you create a new symbol, i.e. "Foo" then it would obey the normal look up rules.


This is a runtime system.

Says who? It doesn't need to be in D.

I don't see that it is cleaner - there's no particular reason why a new
symbol type needs to be introduced.

For attributes with a single value this syntax sugar can be allowed (and is in Java):

@serialize("Foo") int x;

I think that is clean.


--
/Jacob Carlborg

Reply via email to