Re: [RFC] [Discussion] Shorter Attribute Syntax Change
| From: | Marcio Almada | Date: | Tue, 28 Jul 2020 19:58:26 +0000 |
| Subject: | Re: [RFC] [Discussion] Shorter Attribute Syntax Change | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-111234@lists.php.net to get a copy of this message | ||
Hi,
>
> On Tue, Jul 28, 2020 at 12:57 PM Theodore Brown <theodorejb@outlook.com>
> wrote:
>
> >
> > Hi Joe,
> >
> > From the perspective of looks alone I don't care much one way or the
> > other between @@ and #[]. However, I don't find the arguments for #[]
> > in this RFC very compelling, and it ignores some of the other downsides
> > of #[] compared to @@ that should be highlighted. Let's go through the
> > arguments from the RFC:
> >
>
> <snipped here>
>
> Theodore, thanks for your comments, time, and work on the Shorter Attribute
> Syntax RFC. I appreciate your feedback and I'm also of the mind where I
> don't care based on looks alone. The RFC also notes the @@ issues have been
> resolved by the RFC closing at the end of the month.
>
> My motivation for this RFC is based on 2 things:
>
> Firstly, the @@ syntax makes parsing harder (although not impossible) on
> CLI tools such as PHPCS. Therefore IMHO internals should make the best
> effort to avoid this when possible.
>
> Secondly, I'd like to see internals use this as a point in the future to
> avoid this kind of issue where we need to vote on something yet again
> instead of taking the runner up in a ranked-choice vote. Originally this
> was my main motivation until I saw the issues raised by the PHPCS users.
>
Is this issue documented somewhere on github or on any other platform?
I'd like to see the discussion and maybe participate in it.
Thanks,
Márcio