Discussion Thread: DIP 1028--Make @safe the Default--Final Review
    Walter Bright 
    newshound2 at digitalmars.com
       
    Thu Mar 26 02:58:26 UTC 2020
    
    
  
On 3/25/2020 10:53 AM, Jonathan Marler wrote:
> I'm on the fence as to whether this is 
> a good idea.  However, with all the D code I've written that would break from 
> this I'd prefer not to do this;
Are you sure there'd be that much that breaks? If much does break, I'd suggest 
re-evaluating the coding techniques you use. How about the bugs in your code 
that it may find? I'm looking forward to applying this to the D code I've written.
For example, I'm pretty happy with the printf validator added to DMD. I had to 
fix a lot of my own code, and was glad to get it fixed. I'm happy about every 
bug that gets fixed the easy way (at compile time).
@safe by default is going to improve your code. As professionals, we should be 
eager for that.
    
    
More information about the Digitalmars-d
mailing list