DIP 1028---Make @safe the Default---Community Review Round 1

rikki cattermole rikki at cattermole.co.nz
Tue Jan 14 01:03:37 UTC 2020


On 14/01/2020 10:46 AM, Adam D. Ruppe wrote:
> On Monday, 13 January 2020 at 21:43:24 UTC, bachmeier wrote:
>> All of this because adding a -safe switch isn't sufficient for those 
>> that want safe by default.
> 
> Or better yet, let's make `@safe:` work well so we can do this on a 
> per-module level. See:
> 
> http://dpldocs.info/this-week-in-d/Blog.Posted_2020_01_13.html#my-attribute-proposal---no-changes-to-defaults 
> 

I'm not sure I like the idea that attributes are going down scopes like 
you have suggested. It should be explicit that you want that.

Otherwise I'm on board.


More information about the Digitalmars-d mailing list