Re: RFC: Short syntax for Arrays (redux)
| From: | Pierre Joye | Date: | Thu, 02 Jun 2011 21:22:33 +0000 |
| Subject: | Re: RFC: Short syntax for Arrays (redux) | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-52815@lists.php.net to get a copy of this message | ||
On Thu, Jun 2, 2011 at 10:19 PM, Sean Coates <sean@seancoates.com> wrote:
>>> If people vote on this now, will further discussion about how this SHOULD
>>> work be shut down with "we already voted on this"?
>> which other discussions do you wish? Json is clearly not an option and
>> not enough people (but a couple) likes or wants it.
>>
>> The RFC is about short array syntax and as far as I can see there is
>> already a clear consensus for one of the proposed new syntax.
>
> I don't see why JSON (or JSON-like, or JavaScript Object Literal, or whatever the least
> politically-fired term of the moment) syntax is "clearly" not an option. I'm
> considering writing a new RFC that calls for first-class JSONishy syntax, but I have better things
> to do if it's already dead in the water.
>
> As much as I'd like to avoid drawing out this discussion, I think a premature vote that
> will be used as a political wedge to shut down all future syntaxes that don't use T_ARRAY is
> not in the best interest of PHP.
You can still vote -1 on this RFC and try to block it. That's the
purpose of the votes. But arguing endlessly why json-like syntax is
better without an alternative RFC and patch won't bring you anywhere.
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org