I think having both the indentation and the braces surrounding code is much better than just indentation or braces, since it removes any ambiguity of what code goes to what if, for, or while loop/condition. we already have to memorize precedence to define ambiguous expressions. Why have another set of rules that could otherwise be prevented with braces and indentation?
I think having both the indentation and the braces surrounding code is much better than just indentation or braces, since it removes any ambiguity of what code goes to what if, for, or while loop/condition. we already have to memorize precedence to define ambiguous expressions. Why have another set of rules that could otherwise be prevented with braces and indentation?