[TYPO3-core] Request for Change in CGL

Christian Weiske christian.weiske at netresearch.de
Thu Apr 4 09:30:12 CEST 2013


Hello Markus,


> I’d suggest to change this to the more readable version:
> 
> If (
>                 Condition1
>                 && condition 2
>                 && condition 3
> ) 

This makes sense, since it improves readability a lot, for long and
short lines - plus you can comment out parts of the expression easily.

The PEAR Coding standards adopted this changes in 2008, see [1] for
the reasoning.

[1] http://pear.php.net/pepr/pepr-proposal-show.php?id=538#toc4 


-- 
Regards/Mit freundlichen Grüßen
Christian Weiske

-= Geeking around in the name of science since 1982 =-



More information about the TYPO3-team-core mailing list