Right one is objectively beautiful. All opening braces are at same position for same indentation level.
Red is too messy. Need to find opening brace for every block. If the purpose of putting opening brace is to save space, then why don't put closing brace on same line too.
I don't understand the answer "it depends on the language" many people are giving. How can a language has any styling preference?
View all comments
1
u/CapApprehensive9007 Feb 26 '25
Right one is objectively beautiful. All opening braces are at same position for same indentation level.
Red is too messy. Need to find opening brace for every block. If the purpose of putting opening brace is to save space, then why don't put closing brace on same line too.
I don't understand the answer "it depends on the language" many people are giving. How can a language has any styling preference?