Re: [RFC] Shorter Attribute Syntax Change RFC 0.2
| From: | Matteo Beccati | Date: | Wed, 19 Aug 2020 09:08:59 +0000 |
| Subject: | Re: [RFC] Shorter Attribute Syntax Change RFC 0.2 | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-111624@lists.php.net to get a copy of this message | ||
Hi Andreas,
On 19/08/2020 11:01, Andreas Leathley wrote:
> I mentioned the benefits of @{} in an email to this list on Monday, with
> the proposal to have both @@ and @{} as attribute syntax, so both camps
> could have their syntax (one with delimiters, one without) with minimal
Please, one and only syntax would be plenty. We have history showing
that having two was not a brilliant idea, i.e. string offsets.
> But I guess the division about syntax is too big at this point to
> consider an approach where we just offer both types of syntax. From a
> PHP developer viewpoint, it would be preferable though.
To each their own. From my viewpoint, and possibly quite a few other's,
having two syntaxes is not preferable.
Cheers
--
Matteo Beccati
Development & Consulting - http://www.beccati.com/