Re: [rfc] new coding standar rules
| From: | Peter Bowyer | Date: | Fri, 21 Dec 2001 08:23:56 +0000 |
| Subject: | Re: [rfc] new coding standar rules | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-3641@lists.php.net to get a copy of this message | ||
At 08:28 AM 12/21/01 +0100, Alexander Skwar wrote:
But how about ANDs and ORs in control structures? if ('a'==$a&&$b>=-2) or (my preference): if ('a' == $a && $b >= -1) ie. spaces before every "comparison"/operator.Me also - I find the second one easier to read. Peter. -- Maple Design - http://www.mapledesign.co.uk