In respect to the two bracketing standards, all I’ve got to say–or rather to ask is which looks better:
This section is about Blah
Once upon a time there was a goat. Once upon a time there was a goat. Once upon a time there was a goat. Once upon a time there was a goat. Once upon a time there was a goat. Once upon a time there was a goat. Once upon a time there was a goat. Once upon a time there was a goat.
This section is about Ook
Once upon a time there was a goat. Once upon a time there was a goat. Once upon a time there was a goat. Once upon a time there was a goat. Once upon a time there was a goat. Once upon a time there was a goat. Once upon a time there was a goat. Once upon a time there was a goat.
This section is about Blah
Once upon a time there was a goat. Once upon a time there was a goat. Once upon a time there was a goat. Once upon a time there was a goat. Once upon a time there was a goat. Once upon a time there was a goat. Once upon a time there was a goat. Once upon a time there was a goat.
This section is about Ook
Once upon a time there was a goat. Once upon a time there was a goat. Once upon a time there was a goat. Once upon a time there was a goat. Once upon a time there was a goat. Once upon a time there was a goat. Once upon a time there was a goat. Once upon a time there was a goat.
Respectively, these are:
if (Blah) {
upon_a_time(goat);
}
else if (Ook) {
upon_a_time(goat);
}
and
if (Blah)
{
upon_a_time(goat);
}
else if (Ook)
{
upon_a_time(goat);
}
Personally, I prefer the former as it ties the condition in closer with the block when I’m reading through, but either works just fine.