in reply to Re: bloated 'if' formatting
in thread bloated 'if' formatting

I also used to use:

if (condition && condition && condition) { code }

But I didn't like the effect of conditions having the same indentation level as the subsequent code (since I also use 4 column indenting), making it difficult to discern the condition from the code, at least at a first sight. So from now on, I think I'll use the other construct:

if (condition && condition && condition) { code }

that was unknown to me :^).

--
David Serrano