Rather D1 then D2

aliak something at something.com
Sun Sep 23 19:49:11 UTC 2018


On Saturday, 22 September 2018 at 19:04:41 UTC, Henrik wrote:
> On Saturday, 22 September 2018 at 15:45:09 UTC, Jonathan Marler 
> wrote:
>> On Saturday, 22 September 2018 at 15:25:32 UTC, aberba wrote:
>>> [...]
>>
>> Yeah there's been alot of discussion around it over the years, 
>> which is why I put this together about 4 years ago:
>>
>> https://wiki.dlang.org/Language_Designs_Explained#Function_attributes
>>
>> Gosh I've forgotten how long I've been using D.
>
> Interesting article.
>
> "int safe = 0; // This code would break if "safe" was added as 
> a keyword"

You don't have to turn the @ words to non- at s. You can go the 
other way and make attributes consistently use @ as well and 
remove them as keywords.

So

pure void f() {} // Deprecated, attributes must start with @



More information about the Digitalmars-d mailing list