Re: [RFC] is_trusted - was is_literal

From: Date: Mon, 21 Jun 2021 23:18:03 +0000
Subject: Re: [RFC] is_trusted - was is_literal
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-114996@lists.php.net to get a copy of this message
On Tue, 22 Jun 2021 at 01:06, Derick Rethans <derick@php.net> wrote:

> On 21 June 2021 23:37:56 BST, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
> >
> >The name "is_trusted" is misleading.
> >Literal is nothing but literal.
>
> I agree with this. The name is_trusted is going to be the same naming
> mistake as "safe mode" was. Developers will put their trust in it that it
> is 100% guaranteed safe.


FWIW, agreed, too. Trusted is vague and may imply some false sense of
security. Literal is literally what it says on the tin.

— Benjamin


Thread (24 messages)

« previous php.internals (#114996) next »