[TYPO3-core] Request for Change in CGL
Markus Klein
klein.t3 at mfc-linz.at
Thu Apr 4 18:56:19 CEST 2013
>
> 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.
This version is fine too!
>
> --
> Jigal van Hemert
> TYPO3 CMS Core Team member
Kind regards
Markus
More information about the TYPO3-team-core
mailing list