I've seen this questions here. I'm wondering if there exists an offical name for the following indent style:
void fooBar(String s)
{
while (true)
{
// ... do something
}
}
When the opening brace is in the same line as the control statement, the statments within are indented and the closing brace is on the same identation level as the control statement, the style is called K&R-Style. So is there a name for the ident style for the this code sample above?