From: Jeff D. <da...@da...> - 2001-06-26 20:09:48
|
>... we have a lot of dangling if statements of the form: > >if (foo) > statement; > >which will have to be excorcised... I vote that we don't worry about these too much. The only thing I can find in the PEAR coding standards which addresses this is: You are strongly encouraged to always use curly braces even in situations where they are technically optional. Having them increases readability and decreases the likelihood of logic errors being introduced when new lines are added. ("Strongly encouraged" != "required".) |