On Mon, February 5, 2007 12:24 pm, Stanislav Malyshev wrote:
>
>> When a new PHP user asks you "What is an array?" you will
>> understand.
>
> If someone is not familiar with the concept of the array at all, it
> doesn't matter if it's written as array(1,2,3) or [1,2,3]. That's not
> what we are discussing right now.
>
>> Its clear that not all the folks on internals have actually spoken
>> to
>> the masses of users whose first language is PHP.  People don't start
>
> As opposed to you who did, I presume. So, judging from your
> experience,
> how it is different? How explaining array written as [] so much harder
> that explaining array written as ()? What exactly constitutes the
> problem?

Here's the difference:

You can Google for 'array' and learn a lot.

If you try to Google for [] you don't learn squat.

Try it and see.

So our 'newbie' at least has a good chance of figuring out array(1, 2,
3) on their own.  They've got must worse odds of figuring out [1,2,3]

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

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

Reply via email to