On Wed, 5 Sep 2001 17:13:59 -0400, Ryan Fischer ([EMAIL PROTECTED])
wrote:
>You wrote:
>> >Sure it is. Lists or list context. () is not that hard to
>> determine
>> >what it means. At least, not nearly as hard as you make it out
to
>> >be for any moderately-experienced programmer.
>>
>> So it's easy to look it up is if you already know what it does? I
>> think the majority of people looking it up would be
>> not-so-experienced programmers :)
>
>Yes, but an inexperienced programmer wouldn't know where to look for
>list, either. When you see ($foo, $bar), you know two or more items
>are
>a list. What is a list? Two or more items. What do you have
there?
>Two or more items. Rather simple and intuitive to me. *shrug*
well, not being an experienced perl programmer I look at that and
have to wonder if it's some weird function or a language construct,
and either way I have no way of looking it up. with list() I know
it's a function and I have a page to flip to in the documentation or
in the back of some book.
>The way you learn to problem shouldn't be looking something up to
>find out what it does, but rather learning what everything does,
then
>applying it by doing the programming afterwards. This sort of
>backwards
>thinking is what causes problems in the first place. :\
so newbies should have to memorize every function before being
allowed to start writing code? It doesn't work that way. That's like
trying to learn chinese by reading a chinese dictionary. Humans learn
the conversational stuff first (hello world, where is the bathroom)
and progress to the more obscure stuff. Php *is* newbie-friendly and
that's a good thing.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]