| |
| | Ailanto : The One True Brace Style |
 | | Thus the braces are part of the compound statement, not part of the guard or controlling statement the braces are paired, one opening and one closing, and so should be at the same level of indentation and the indentation of the braces should match that of the statements in the block, giving... |
 | | It is the One True Brace Style, logical and clear, and I found out later that it has a name: it is known as Whitesmiths Style, because it was the style used in examples that came with Whitesmiths C, an early commercial C compiler. |
 | | BSD Style, or Allman Style, pushes the braces further left, to the indentation level of the guard or controlling statement, and this is a Bad Thing, because it appears that the braces are part of the guard or controlling statement; they are not. |
| www.komputado.com /eseoj/1tbs.htm (432 words) |
|