Re: Assignment (Was Re: [PHP] More microptimisation (Was Re: [PHP] Variable as an index)
| From: | tedd | Date: | Wed, 24 Dec 2008 15:41:01 +0000 |
| Subject: | Re: Assignment (Was Re: [PHP] More microptimisation (Was Re: [PHP] Variable as an index) | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-285043@lists.php.net to get a copy of this message | ||
At 11:06 AM +1100 12/24/08, Clancy wrote:
On Tue, 23 Dec 2008 10:25:13 -0500, tedd.sperling@gmail.com (tedd) wrote: Two things:Clancy: A tag strong, but you're right. Apology offered. Certainly, my comment about "One statement, one line" is a personal choice. But it is founded on 40+ years of writing code. It's something that makes debugging simpler for me and perhaps for others. My second point was just plain wrong. In one of the previous post on this thread, someone used the value of $i as an index and it produced different results. So I jumped to the conclusion it was different, but it's not. I should of examined it more closely. Sorry. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com1. One statement, one line. 2. The code between the two examples is different; produces different results; and thus is rather pointless in making a definitivecomparison. Spoken like a true demagogue -- nitpicking about trivial points of style, but displaying total ignorance of elementary rules of programming.