Re: [RFC] Shorter Attribute Syntax Change RFC 0.2
| From: | Christoph M. Becker | Date: | Mon, 10 Aug 2020 09:46:54 +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-111419@lists.php.net to get a copy of this message | ||
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 fl¦i"-ËÖ
>>
«…ô�‹<<>> 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?
--
Christoph M. Becker