3 ms·
The "One True Brace Style" is actually a specific style with that name. It is based on the K&R style, with the additional stipulation that all `if`, `else`, `f
by klodolph 12y ago
The "One True Brace Style" is actually a specific style with that name. It is based on the K&R style, with the additional stipulation that all `if`, `else`, `for`, and `while` statements use braces.
- loup-vaillant 12y agoHere: https://en.wikipedia.org/wiki/Indent_style#Variant:_1TBS https://en.wikipedia.org/wiki/Indent_style#Variant:_1TBS
- samspot 12y agoThanks. I googled and found a page saying OTBS was different from K&R, which was pretty confusing!