Re: [VOTE] Shorter Attribute Syntax Change
| From: | Deleu | Date: | Sun, 16 Aug 2020 14:27:16 +0000 |
| Subject: | Re: [VOTE] Shorter Attribute Syntax Change | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-111557@lists.php.net to get a copy of this message | ||
As stated by the RFC:
We argue why we should strongly favor a syntax with closing delimiter to
> keep consistency with other parts of the language and propose to use #[],
> @[], or the original << … >> instead.
Given the desire for a closing delimiter, has
@:Attr; been considered (or
even @@Attr;)? Can ; be the closing token as it's already used for
statements as well?
On Mon, Aug 10, 2020 at 10:41 AM Derick Rethans <derick@php.net> wrote:
> Hi,
>
> I've just opened the vote to make sure we don't make a terrible mistake
> with using the @@ syntax for attributes:
>
> https://wiki.php.net/rfc/shorter_attribute_syntax_change#voting
>
> The first vote is a vote to say that you have an opinion about attribute
> syntax. Make sure to read up on the discussion on the mailinglist if you
> haven't done so yet.
>
> The second vote is an STV vote.
>
> In STV you SHOULD rank *all* choices, but don't pick the same one more
> than once, as that will invalidate your vote.
>
> Please have a objective look at the table
> (https://wiki.php.net/rfc/shorter_attribute_syntax_change#proposal) and
> don't just go by asthetics.
>
> The vote ends August 23, 24:00 UTC.
>
> 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
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: https://www.php.net/unsub.php
>
>
--
Marco Aurélio Deleu