Encapsulating trust
ketmar via Digitalmars-d
digitalmars-d at puremagic.com
Mon Sep 1 23:44:00 PDT 2014
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140902/eaee582e/attachment.sig>
More information about the Digitalmars-d
mailing list