Re: [PEPr] Comment on RFC::Coding standard enhancements
| From: | David Sanders | Date: | Sat, 08 Mar 2008 01:39:02 +0000 |
| Subject: | Re: [PEPr] Comment on RFC::Coding standard enhancements | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-49321@lists.php.net to get a copy of this message | ||
>
> I chose
>> if ($condition1
>> && $condition2
> over
>>if ($condition1 &&
>> $condition2
> because you can easily comment-out conditions in the first version, which
> is really helpful when debugging or programming at the source location in
> general.
What about if the indentation is reduced to make the conditions line up?
if ($condition1
&& $condition2) {
}
--
David Sanders
shangxiao