Re: Assign multiple variables from mysql_fetch_row() call
| From: | Mark Maggelet | Date: | Wed, 05 Sep 2001 00:34:05 +0000 |
| Subject: | Re: Assign multiple variables from mysql_fetch_row() call | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-65969@lists.php.net to get a copy of this message | ||
>I use list context a lot in PHP and Perl, and I prefer Perl's way of
>doing it *because* it allows you to be as verbose or terse as you
>like.
>PHP, unfortunately, doesn't give you that freedom.
Hmm... the freedom to write unreadable, unmaintainable code, yes this
is a very important feature.
That works great if you're a team of one and you're the only one who
will ever maintain your code. For people who live in a society it's a
nightmare :) There's a huge thread on slashdot right now on 'Software
Aesthetics'.