Re: Basic switch statement
| From: | Al | Date: | Wed, 14 Apr 2010 20:13:24 +0000 |
| Subject: | Re: Basic switch statement | ||
| References: | 1 2 3 4 | Groups: | php.general php.general |
| Request: | Send a blank email to php-general+get-304099@lists.php.net to get a copy of this message | ||
On 4/14/2010 12:28 PM, tedd wrote:
At 5:06 PM -0400 4/13/10, Robert Cummings wrote:I'm with you Tedd. I'm forever cussing myself when I use a super clever trick to solve a logic problem and then later can't figure out how the damn thing worked even though I documented it. Incidentally, about formatting scripts, one of the reasons I like phpEdit is that it has a terrific code beautifier. You can set it for phpDoc or Pear rendering. And, it auto indents, etc. as you enter stuff. Al...........Nathan Rixham wrote:Well.. count me among those staring. I just don't get those type of things until I see them actually work. My "logic" works the other way -- when presented with a logic problem, I come up with a solution that works the way I think and I always to solve the problem presented. Perhaps my solution isn't as clever nor as cryptic as others, but it's always easier to read and understand. Cheers, teddwell that's one job I'm not getting :pWell you DID get 66.7%. I've met "coders" that would stare at the answer and still not understand :D Cheers, Rob.