|
From: Steve W. <sw...@pa...> - 2001-06-26 19:57:03
|
On Tue, 26 Jun 2001, Reini Urban wrote:
> most of it is fine for me, I just don't like the "one true brace" function
> declaractions follow convention:
>
> function fooFunction($arg1, $arg2 = '')
> {
> if (condition) {
> statement;
> }
> return $val;
> }
I think this is a compromise; notice block statements go:
if (foo) {
}
so I thought, that's cool, you get both in one style! Speaking of IF, we
have a lot of dangling if statements of the form:
if (foo)
statement;
which will have to be excercised...
~swain
---
http://www.panix.com/~swain/
"Without music to decorate it, time is just a bunch of boring
production deadlines or dates by which bills must be paid."
-- Frank Zappa
|