DIP69 - Implement scope for escape proof references

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Thu Dec 4 21:08:41 PST 2014


On 12/4/2014 2:08 PM, bearophile wrote:
> Perhaps you can't leave the "@safe on default" issue out of the DIP69. Currently
> most D code I see around is not tagged with @safe. If people don't bother
> applying that annotation, all the work you will do to implement DIP69 will be
> wasted or partially wasted.

The attributes don't have much use for small programs. When a program is small 
enough that one person can keep it all in their head, there is not much use for 
it. I'd like to keep D usable for quick small program writing.

Attributes become more and more useful the larger the program gets, and the more 
people are working on it. In such cases, I don't think it's near as much of a 
burden to put in a few annotations, and the payoff is significantly larger.


> I and other people have opened several bug reports on @safe, some of them are
> (but others are present, this is a subset):
>
> https://issues.dlang.org/show_bug.cgi?id=13615
> https://issues.dlang.org/show_bug.cgi?id=13681
> https://issues.dlang.org/show_bug.cgi?id=12948
> https://issues.dlang.org/show_bug.cgi?id=13607
> https://issues.dlang.org/show_bug.cgi?id=12845
> https://issues.dlang.org/show_bug.cgi?id=6646
> https://issues.dlang.org/show_bug.cgi?id=11176
> https://issues.dlang.org/show_bug.cgi?id=6333
> https://issues.dlang.org/show_bug.cgi?id=13054
> https://issues.dlang.org/show_bug.cgi?id=13506
> https://issues.dlang.org/show_bug.cgi?id=13188

Thanks you.



More information about the Digitalmars-d mailing list