DIP1028 - Rationale for accepting as is

Walter Bright newshound2 at digitalmars.com
Tue May 26 01:16:49 UTC 2020


On 5/24/2020 5:56 PM, Timon Gehr wrote:
> It's only greenwashing if it's misleading. Putting @safe is a lie, putting 
> @trusted is honest.

It is not honest unless the programmer actually carefully examined the interface 
and the documentation to determine if it is a safe interface or not. For 
example, labeling memcpy() with @trusted is not honest.

Forcing people to add uncheckable annotations is a path to convenience, not honesty.


More information about the Digitalmars-d-announce mailing list