Re: [RFC] Shorter Attribute Syntax Change RFC 0.2
| From: | Derick Rethans | Date: | Mon, 10 Aug 2020 13:54:21 +0000 |
| Subject: | Re: [RFC] Shorter Attribute Syntax Change RFC 0.2 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-111431@lists.php.net to get a copy of this message | ||
On Mon, 10 Aug 2020, Christoph M. Becker wrote:
> On 10.08.2020 at 10:35, Derick Rethans wrote:
>
> > On Fri, 7 Aug 2020, Theodore Brown wrote:
> >
> >> - Used by other language:
> >> - This is listed as an advantage for
#[] and
> >> <<>>. However, the table
> >> fails to point out that Hack is migrating away from
> >> <<>> to @Attr.
> >
> > It can only do that because they are removing @ as the shut up operator,
> > which ain't going to happen in PHP.
>
> If we could afford the luxury of removing the @ operator, would you
> prefer @ for attributes?
No.
cheers,
Derick
--
PHP 7.4 Release Manager
Host of PHP Internals News: https://phpinternals.news
Like Xdebug? Consider supporting me: https://xdebug.org/support
https://derickrethans.nl | https://xdebug.org | https://dram.io
twitter: @derickr and @xdebug