State the case for JSON in a separate RFC and progress will be made, but I
think there is a fundamental mistake here: serialization formats are the
*means* for interoperability, not the ends.

The only way I see JSONy syntax would help is if PHP code —with JSONy
syntax— would be parsed by a JSON parser, and I don't think that is likely
to happen... if you want PHP to have a data structure behave like JSON that
is another story.

Add use cases, syntax descriptions, and perhaps a patch for this JSON RFC
and the main argument will be better understood; an RFC will help, visceral
statements and personal attacks, on the other hand, won't, so I bet your
time —and everybody else's— will be better spent in writing an RFC to defend
it.

Regards,

David

On Thu, Jun 2, 2011 at 4:22 PM, Pierre Joye <pierre....@gmail.com> wrote:

> On Thu, Jun 2, 2011 at 10:19 PM, Sean Coates <s...@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
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Reply via email to