3 ms·
This looks horrible if I want the opening brace on the same line as the closing parens around function parameters, but still want the function parameters to be
by Munksgaard 13y ago
This looks horrible if I want the opening brace on the same line as the closing parens around function parameters, but still want the function parameters to be aligned, like this:
int someCodeDemo ( [tab] int fred,
[tab] int wilma) {
[tab] return fred + wilma;
}
I guess it needs some vertical space between blocks in order to distinguish them, hence why putting { on the next line works.
In my opinion, it also looks horrible with Lisp code (where I pretty much consider indentation a solved problem).
Edit: Oh god, how do I format this... Ah, there we go.