Hello,

On Thu, May 29, 2008 at 11:55 AM, Johannes Schlüter <[EMAIL PROTECTED]>
wrote:

> Hi,
>
> On Thu, 2008-05-22 at 05:12 +0300, "Stan Vassilev | FM" wrote:
> > It looks as there may not be a specific reason not to allow the JS
> >  syntax as an alternative syntax (while keeping the current one in
> parallel):
> >
> > $a = [[1, 2], [3, 4], 5, 6];
> >
> > $b = ['a' => 1, 'b' =>2];
>
> ok, in a previous post I mentioned this was discussed short time ago (in
> January to be precise) but well, then once again with more details:
>
> When I learned more about PHP one of the things I learned was that PHP
> was proud to be a bit more verbose than other languages while not as
> verbose as others. By using the array()-Syntax newcomers had a thing to
> look for when reading code which I always saw as a central design
> principal of the language.
>
> Now we can change such principals from time to time, the world changes,
> so can PHP. But for changing such principals we need a clear consensus
> imo. In the January discussion the result was around 50:50 which isn't a
> clear consensus. Back then there was a small difference between
> "committers" and "non-committers. In the group of the "committers" there
> were a few more -1 than +1 votes, within the non-committers-group it was
> the other way round (your favorite search engine should give you the
> exact numbers, don't have it at hand). Now my second assumption is that
> "committers" have thought a little bit more about language than "random"
> commenters" of course there are exceptions but I think the general
> picture should be like that. So in January this change wasn't accepted.
>
> So, now, less than half a year later the discussion restarts and we
> aren't much further, from what I see it still looks like a 50:50 to me -
> without "counting".
>
> Now to my own opinion:
>
> I read way more code than I write, code from different people using
> different coding styles etc. so I like a more verbose syntax.


My only question, is what does PHP want. When I say PHP, of course I am
referring to the tens-of-thousands of users that make PHP a success. Lets
remember that "random commenters" which I would like to refer to as PHP's
actual user base, which I would further annotate that the "committers"
graciously power, respectively; In general tend to favor introducing the
syntax. So, if you were to apply that ratio to the tens(hundreds?) of
thousands of people actually using PHP 50:50 does not not seem correct.
Further, we need to vote for the future PHP, people who have not yet learned
PHP, how can this benefit them. We need to also look at other languages, the
most commonly used languages, how will the migration FROM XLANG to PHP be,
as well as ZLANG to PHP. Lets have some true thought and analysis before
another feature is rejected.

I have been watching the mailing list for long as I can remember and seems
that features and such are never truly voted for. Perhaps a PHP.net voting
system should be made, so PHP can progress based off what the community
wants, not what a group of "committers" want. I respect fully the time and
effort put into the project but time to time I see the vote of PHP (in the
afore mentioned context) lost and discounted for.

Just my opinion.

-Chris

Reply via email to