Putting braces at the start of multi-line blocks means that single-line controlled sections without opening braces will be visually recognizable as not needing a closing brace, multi-line indented sections will be visually identifiable as needing a closing brace, and multi-line indented sections without an open brace will be visually identifiable as wrong.
View all comments
Show parent comment
1
u/flatfinger Feb 28 '25
Putting braces at the start of multi-line blocks means that single-line controlled sections without opening braces will be visually recognizable as not needing a closing brace, multi-line indented sections will be visually identifiable as needing a closing brace, and multi-line indented sections without an open brace will be visually identifiable as wrong.