On Tuesday, 26 December 2017 at 22:56:40 UTC, Walter Bright wrote:
On 12/26/2017 3:54 AM, codephantom wrote:
I simply have to 'forget' to annotate with @safe

Not annotating with @safe is mechanically checkable as well.

If I were trying to create a marketing campaign for D, as being a safe language, then @safe being default would be the cornerstone of such a campaign.

Then you cannot 'forget' to use it, and there would be no need to check anything.

Then, anything not meant to be '@safe' has to be explicately, intentionally, marked as something else...and you simply cannot 'forget' to do that, otherwise the code just won't compile correctly (I assume).

Since @safe is not default, such a marketing campaign would be pointless.

As such, as better and more realistic marketing campaign would promote D as being primarily a flexible language, with 'safe' features you can make use of, if you need them, some of which are on by default, and some which are not.

Reply via email to