Re: temporary error

From: Date: Fri, 22 Feb 2008 14:49:00 +0000
Subject: Re: temporary error
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-269855@lists.php.net to get a copy of this message
If you wan to shorten a bit you can use a constant as the counter increment like so: define('Increment_Super_Cala_Fraga_Listic_Ex_Peal_Ado_Tio_Us_Counter', 1); $Super_Cala_Fraga_Listic_Ex_Peal_Ado_Tio_Us_Counter = $Super_Cala_Fraga_Listic_Ex_Peal_Ado_Tio_Us_Counter + Increment_Super_Cala_Fraga_Listic_Ex_Peal_Ado_Tio_Us_Counter; -Shawn
-Shawn: Not that you wrote that verbose crap, but my "personal choice" would be: //Super_Cala_Fraga_Listic_Ex_Peal_Ado_Tio_Us_Counter = $a //Increment_Super_Cala_Fraga_Listic_Ex_Peal_Ado_Tio_Us_Counter = $b $a += $b; Outside of a reasonable need for readability, variables should not be used for documentation. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#269855) next »