Current style is from Anjo Anjewierden, the guru who teached me to program in C. I don't think it is a bad style, but it is not supported by modern tools. Considering that quite some attention has been paid to have a consistent layout where values are often nicely displayed as tables, a general reformat is (I think) undesirable.
What about this?
- Keep indentiation increment of 2 (otherwise all will break)
- Re-format to
if ( .... ) {
body
} else {
...
}
Current style is from Anjo Anjewierden, the guru who teached me to program in C. I don't think it is a bad style, but it is not supported by modern tools. Considering that quite some attention has been paid to have a consistent layout where values are often nicely displayed as tables, a general reformat is (I think) undesirable.
What about this?