Re: coding standards - control structures

From: Date: Fri, 27 Sep 2002 20:40:11 +0000
Subject: Re: coding standards - control structures
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-117892@lists.php.net to get a copy of this message
Kevin Stone wrote: > > I believe the standards are for coding PEAR modules so all code is presented > in the same style. It really has no influence on the language or community > at large. I say code the way you feel most comfortable with and damb to > anyone who complains. :) > -Kevin The best way for sure as I stand before God (if you believe in that) is as follows: if( $foo ) { // Do something. } else { // Do something else. } Of course you're welcome to disagree ;) Cheers, Rob. -- .-----------------. | Robert Cummings | :-----------------`----------------------------. | Webdeployer - Chief PHP and Java Programmer | :----------------------------------------------: | Mail : mailto:robert.cummings@webmotion.com | | Phone : (613) 731-4046 x.109 | :----------------------------------------------: | Website : http://www.webmotion.com | | Fax : (613) 260-9545 | `----------------------------------------------'

« previous php.general (#117892) next »