DIP 1028---Make @safe the Default---Community Review Round 1
newshound2 at digitalmars.com
Sat Jan 4 06:42:05 UTC 2020
On 1/3/2020 10:41 AM, Steven Schveighoffer wrote:
> Add to rationale:
> The vast majority of non-template code written is @safe, but not marked as such.
> This means many projects cannot enable safe because their dependencies were not
> marked that way. This will correct that for all those dependencies.
> Same can be said about pure and nothrow.
Unfortunately, not much code tends to be pure without expending much effort.
Pure would be a poor default.
Nothrow is likely to become the default in the future. Please, start a new
thread for discussion of that.
More information about the Digitalmars-d