Re: elseif statements
| From: | tedd | Date: | Tue, 05 May 2009 19:11:41 +0000 |
| Subject: | Re: elseif statements | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-292307@lists.php.net to get a copy of this message | ||
At 1:11 PM -0400 5/5/09, Paul M Foster wrote:
I hate to dogpile on Tedd, ...No problem. Some days you're the windshield and some days you're the bug. Hey, I've been wrong before -- I'm used to it. But in my defense, I've always had major problems understanding long ifelse's. You see, I'm dyslexic and I can not follow those long constructs (i.e., more than two decisions). I've always been able to work around the problem. Sure the way php allows switch(true) is very opportunistic for me, but it's legal. I've seen a lot worse, not that my practicing such grants me permission to do so. But I don't seriously think that anyone who reviews my code would be confused as to what I was doing using a switch in such fashion. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com