On Thursday, 13 December 2018 at 17:07:58 UTC, H. S. Teoh wrote:
[snip]

Why not? You can opt out. It's not as though you're forced to use immutable everything and nothing but, like in a pure functional language. Just tack on @system or mutable when you need to.



Mutable might be a little easier since it applies only to variables and member functions. If @safe is the default, including for main, then any @system block in your program and you also have to make main @trusted or @system too.

Reply via email to