4 ms·
Annoyingly, that article refers to the One True Brace Style but doesn't bother to define it or link to it!
by samspot 12y ago
Annoyingly, that article refers to the One True Brace Style but doesn't bother to define it or link to it!
- klodolph 12y agoThe "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!