On Tuesday, 6 November 2012 at 19:52:45 UTC, Manu wrote:
I'd like to re-enforce the consideration that @attribute()
makes it looks
like they affect the code generation somehow... they're really
just
annotations.
Why would @ look like that to you? Actually, @ seems to yell
»annotation« to me, probably because of my (limited) exposure
to Python.
And don't forget that UDAs _do_ in practice have an effect on
code generation, at least a lot more than @safe-ty attributes.
Whether the mechanism by which they gain that effect is built
into the compiler or implemented in a library doesn't matter to
the user of a library.
David