Hi!

I hereby propose that
going forward, we should always wrap conditional blocks in braces, even
one-liners.

I'd also like to have this change, since it might prevent bugs and doesn't add too much verbosity.

Related question: Should the else line in if else statements look like this:

} else {

The else won't start in the same column as the corresponding if, but this would save one line compared to having the closing curly brace on one line and the else on the next one.

Regards
Felix

--
coreboot mailing list: [email protected]
https://mail.coreboot.org/mailman/listinfo/coreboot

Reply via email to