On Tue, Jun 25, 2019 at 1:29 PM Julius Werner jwerner@chromium.org wrote:
The improvement of requiring a { on the ifs is known to
have positive impact; it's why Rust and Go both require it to my understanding.
How is this actually "known"?
Mandatory brackets are especially helpful when one makes quick debugging changes, say adding a print statement or an assignment and forgets to add the brackets to single statement clauses.
The compiler option would be useless if the debug code does not follow the indentation pattern.
-vb