[TYPO3-core] Request for Change in CGL

Alexander Opitz alexander.opitz at netresearch.de
Thu Apr 4 21:48:22 CEST 2013


Jigal van Hemert wrote:

> Hi,
> 
> On 4-4-2013 12:05, Aske Ertmann wrote:
>> I not sure that makes it more readable, because if you use tabs, a
>> monospaced font and a tab size of 4 (which is default in most editor
>> AFAIK) the conditions will be aligned. What it does is more too add more
>> empty almost empty lines.
> 
> In new code a multi-line condition is mostly formatted as:
> 
> if (condition1 && condition2
>      && condition3
>      && averylongcondition4
> ) {
>      statement;
> }
> 
> Seems very readable to me and doesn't waste too many (almost) empty lines.

+1 from me

Greetings Alex//


More information about the TYPO3-team-core mailing list