On 2/4/07, Ilia Alshanetsky <[EMAIL PROTECTED]> wrote:
On 4-Feb-07, at 1:14 PM, Pierre wrote:

> On 2/4/07, Ilia Alshanetsky <[EMAIL PROTECTED]> wrote:
>> I personally find array extremely clear, in recent weeks I had to do
>> A LOT of JavaScript work where the array syntax works in a manner you
>> suggest for PHP and its a massive pain. It does not make for a very
>> clear code. I think the syntax you propose is extremely confusing and
>> we should stick to what we have right now.
>
> If someone does not like this new syntax, he can stick to array(). It
> is in no way an argument to refuse the new syntax addition.

If you want to make PHP into Perl that's a fine goal I suppose,
however that's not something I want to participate in.

That's also hardly an argument as all modern languages support this
syntax as wel as an array-like one (in one form or another, using
constructors, initializer or special ops).

The argument "if you like to make PHP into <put your worst nightmare
here>" is getting old. We argue about OO and PHP using the same one,
goto is also such a victim  (the spaghetti code FUD).

This syntax has been asked hundred times in the past and we kept find
all possible excuses to ignore these requests.  I think we will make a
mistake if we ignore it once again.

No more cent for this thread :)

--Pierre

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to