RE: Re: Inspiration for a Tombstone.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 9:52 AM -0500 6/27/08, Boyd, Todd M. wrote:
I think you guys are missing something: he wrote it with single equals
signs on purpose. He was demonstrating how the one with the constant to
the right of the assignment operator is a valid statement... and that
putting the constant first will aid you in finding such mistakes.

No question -- I missed the intent.

But in my defense, a single equal sign in an if statement stands out like a red flag to me and thus I really don't need help finding it. When my code craters, it's usually for things other than that.

Cheers,

tedd

--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux