Sujet : Re: Which code style do you prefer the most?
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.cDate : 05. Mar 2025, 00:36:13
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vq82pc$232tl$10@dont-email.me>
References : 1 2 3 4 5 6
User-Agent : Pan/0.162 (Pokrosvk)
On Tue, 4 Mar 2025 21:49:46 +0000, Richard Harnden wrote:
I like the brace on its own line. It visually separates the condidition
from the statement.
If the structure closer belongs on its own line, then so should the
structure opener. That way they can be kept at the same indentation level,
to further tie them together visually.