Why do some attributes start with '@' while others done't?

Brian Schott via Digitalmars-d digitalmars-d at puremagic.com
Thu Jan 21 16:11:02 PST 2016


On Thursday, 21 January 2016 at 23:58:31 UTC, jmh530 wrote:
> Perhaps they could begin a process, like adding @pure and 
> @nothrow. Then, people at least people can update source code 
> at their own pace. I doubt adding those would break much code 
> (which makes me wonder if it would be possible to do something 
> like go through all of the dub repository and estimate if any 
> code would get broken by it).

I wrote up the details of this idea as a DIP many months ago:

http://wiki.dlang.org/DIP64

It's already implemented in dfix. You can run "dfix --dip64 
file.d" and the changes will be made automatically.


More information about the Digitalmars-d mailing list