[ ArgumentList ] vs. @( ArgumentList )

Jonas Drewsen nospam4321 at hotmail.com
Wed Nov 7 01:13:47 PST 2012


My vote goes to @(a,b,c) and @a @b @c.

I never understood why some builtin storage class keywords have @ 
in front of them (e.g. @property, @safe, @disable) and some don't 
(e.g. pure, nothrow).

IMHO the cleanest design would be to have builtins as plain 
keywords (ie. no @ in front). And then @xxx is reserved for UDA.

I understand that this would be a breaking change and not likely 
to happen - just want to know the reasoning behind it.

/Jonas



More information about the Digitalmars-d mailing list