3 ms·
My rule is if it's all on one line (even if complex) no braces. But if it's two lines, or if there is an else, then put in the braces.
by ars 15y ago
My rule is if it's all on one line (even if complex) no braces. But if it's two lines, or if there is an else, then put in the braces.