Re: coding standards - control structures
| From: | Kevin Stone | Date: | Fri, 27 Sep 2002 20:48:11 +0000 |
| Subject: | Re: coding standards - control structures | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-117893@lists.php.net to get a copy of this message | ||
No I totaly agree. That's exactly the way I code! *ROTFLMAO*
-Kevin
----- Original Message -----
From: "Robert Cummings" <robert.cummings@webmotion.com>
To: "Kevin Stone" <kevin@helpelf.com>
Cc: "ed" <coo_t2@yahoo.com>; <php-general@lists.php.net>
Sent: Friday, September 27, 2002 2:40 PM
Subject: Re: [PHP] coding standards - control structures
> 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 |
> `----------------------------------------------'
>