accept @pure @nothrow @return attributes
Dicebot via Digitalmars-d
digitalmars-d at puremagic.com
Wed Jan 28 06:41:08 PST 2015
On Wednesday, 28 January 2015 at 14:30:47 UTC, Kagamin wrote:
> On Wednesday, 28 January 2015 at 13:20:24 UTC, Dicebot wrote:
>> But in this case I see no improvement that could justify it.
>
> Fixes problems people have with inconsistent attribute syntax,
> see discussion at https://issues.dlang.org/show_bug.cgi?id=13388
Yes, but as it has been already mentioned in this thread new
system is as much inconsistent - it simply has moved 3 of
attributes from one "camp" to another. If idea was to separate
attributes that affect mangling/type then we still have
protection attributes. And with no plans to deprecate old syntax
even more inconsistency had been introduced. Same goes for
possible introduction of new attributes - if syntax for those and
UDA is identical, it can break code same as introducing new
keywords. I don't see any _vision_ behind the change, just moving
bits around.
It is not well-thought.
More information about the Digitalmars-d
mailing list