OneTrueBraceStyle
Last edit March 23, 2011
K&R style - Named after Kernighan & Ritchie, because the examples in K&R are formatted this way. Also called kernel style because the Unix kernel is written in it, and the 'One True Brace Style' (abbrev. 1TBS).
if (<cond>) { <body> }
See
http://catb.org/~esr/jargon/html/I/indent-style.html
See:
AlwaysUseBracesOnIfThen
,
BracesAroundBlocks
,
WhereDoTheBracesGo
CategoryCodingIssues
,
CategoryCee