From: Joel U. <uck...@no...> - 2001-06-26 19:16:59
|
Quoth Reini Urban: > Steve Wainstead schrieb: > > I've read through the PEAR coding standards and they look good. I'd like > > all the project code to use them. You can take a look at > > http://www.php.net/manual/en/pear.standards.php. > > 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 do: > function fooFunction ($arg1, $arg2 = '') { Me too. I think that's in the spirit of old-skool K&R C. Of course, this sort of thing is how epic flamewars get started. Heh. :) -- J. |