Steph 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.

And what about maintenance? And what about the confusion for beginners?

Yes, you will come across it if its added.
I find the Javascript syntax confusing to read as well. However more importantly I do not see the point in adding this sugar to save 5 chars.

@Andi: I dont quite understand your formatting argument really.

regards,
Lukas

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

Reply via email to