accept @pure @nothrow @return attributes

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


On 1/26/2015 8:13 AM, Foo wrote:
> You could do the same as C++ with override and final: they are only valid
> attributes if they appear _after_ the function/method. Elsewhere they are still
> valid as identifiers for e.g. variables.

Just 'no' on context-sensitive tokens.

For context,

   TV vocabulary - 2,000 words
   High school vocabulary - 10,000 words
   College vocabulary - 30,000 words
   English - 1,000,000 words

i.e. words are NOT a scarce resource (quite unlike punctuation).


More information about the Digitalmars-d mailing list