Safety, undefined behavior, @safe, @trusted
Frank Benoit
keinfarbton at googlemail.com
Thu Nov 5 13:21:30 PST 2009
grauzone schrieb:
> Frank Benoit wrote:
>> safe should be the default. The unsafe part should take the extra
>> typing, not the other way. Make the user prefer the safe way.
>
> No. D is not C#.
As I understand the philosophy of D, it should be easy to write
correct/good code, but it shall also be possible to do dirty thing. This
is exactly implying that "safe" shall be the default.
More information about the Digitalmars-d
mailing list