accept @pure @nothrow @return attributes

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Mon Jan 26 11:50:19 PST 2015


On 1/26/2015 3:39 AM, Jonathan M Davis via Digitalmars-d wrote:
> Personally, I'd much prefer that we not make this change.

It's good to have this discussion.

Previously, it's all been advocacy and "break my code" by forcing a change from 
pure => @pure.

Just a few days ago on slashdot, an anonymous D user wrote:

   "A horrible mix of keywords and annotation syntax for function/method
   attributes ('const', 'pure', and 'nothrow' are all keywords, but
   '@property', and '@nogc' are annotations)"

for why he won't use D anymore.

Frankly, I think that is a great bikeshedding non-issue that distracts us from 
what is important. I hope that by doing this PR, we can actually decide that it 
isn't worth it, i.e. I'd be happy to get consensus and revert it.


More information about the Digitalmars-d mailing list