Encapsulating trust
Paulo Pinto via Digitalmars-d
digitalmars-d at puremagic.com
Tue Sep 2 02:24:37 PDT 2014
On Tuesday, 2 September 2014 at 06:44:13 UTC, ketmar via
Digitalmars-d wrote:
> On Mon, 01 Sep 2014 17:03:01 -0700
> Walter Bright via Digitalmars-d <digitalmars-d at puremagic.com>
> wrote:
>
>> I also don't agree with the notion of having @trusted blocks
>> of the
>> form:
>>
>> @trusted {
>> ... system code ...
>> }
>>
>> We already have a mechanism to do that - @trusted nested
>> functions.
> why don't add some sugar here? nothing will stop a dedicated
> person if
> he wants to write "bad code". yet making life harder for thouse
> who
> knows what they doing is... anti-human. this discriminating
> knowledgeable people, forcing them obey the rules that was
> written for
> fools. yet that rules will not stop fools of doing foolish
> things.
>
> lose-lose.
And thus we end with the security exploits and computer errors C
has brought into the world.
More information about the Digitalmars-d
mailing list