Re: Basic switch statement
| From: | Robert Cummings | Date: | Wed, 14 Apr 2010 16:32:22 +0000 |
| Subject: | Re: Basic switch statement | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-304095@lists.php.net to get a copy of this message | ||
tedd wrote:
At 5:06 PM -0400 4/13/10, Robert Cummings wrote:Maybe you haven't debugged enough "other people" code in your time as a developer... there's a certain knack to weeding out logic failures :) It also helps to use proper indentation and bracing format as illustrated by all my code examples so that you can more easily see where problems lie >:D Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHPNathan 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.well 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.