3 ms·
Not sure if I agree with the section about curly braces being vertically aligned. I have seen production code with both and it honestly comes down to personal p
by nate_martin 13y ago
Not sure if I agree with the section about curly braces being vertically aligned. I have seen production code with both and it honestly comes down to personal preference. If you think about aligning the start of the function/if with the closing curly brace it kind of has the same effect as stacking the curly braces.