5 ms·
Also his one example: > For example placing an opening curly bracket on a new line causes the compiler to emit a syntax error. That's actually part of the syn
by Graziano_M 9y ago
Also his one example:
> For example placing an opening curly bracket on a new line causes the compiler to emit a syntax error.
That's actually part of the syntax, not the style. The compiler adds an implicit semicolon at the end of every line, and if there is one before the block of a switch, if, for, etc, then it looks like it's missing (and the next line's curly braces is just a new block.