Re: Fw: [PHP] debuging and getting mor information about failures
| From: | Chris Boget | Date: | Tue, 29 Jul 2003 18:08:28 +0000 |
| Subject: | Re: Fw: [PHP] debuging and getting mor information about failures | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-157364@lists.php.net to get a copy of this message | ||
> I know the braces vs. end-token debate is almost on the scale of a holy war,
> and I admit to hating the curly-brace style with a passion, but when I see code
> like this:
[snip code]
Yeah, I'd hate curly braces with a passion if I saw code like that, too. How can
anyone *possibly* read that and follow it clearly? I couldn't.
When I use control blocks, they are always indented making it much easier to
determine what goes where:
function doit() {
for() {
...floating code...
if() {
} else {
} // if
} // for
...floating code...
}
Much easier to read. But YMMV...
Chris