> 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





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

Reply via email to