FAQ for newbies who see pure @safe nothrow @nogc

Nick Treleaven via Digitalmars-d digitalmars-d at puremagic.com
Fri Jan 30 04:46:02 PST 2015


On 29/01/2015 17:51, Jonathan Marler wrote:
> Nick I'm putting together the FAQ right now.  I don't quite understand
> this proposal.  Could you outline it for me?  I'd like to know exactly
> what words would require an '@' symbol. What is the criteria for when to
> use an '@' and when not to use one? This current rule is (use '@' if it
> is not a keyword)...so what would the new rule be? Thanks.

My idea was just: if it can apply to variables, use keyword or 
__keyword. If it doesn't apply to variables, use @attribute. But this 
shouldn't be documented anywhere.


More information about the Digitalmars-d mailing list