![]() |
MySQL 8.0.32
Source Code Documentation
|
if, while, etc. must always have braces, and each brace should be on a separate line.
Good example:
Bad example:
Inline methods inside class (struct) are okay to write as shown below (i.e., opening brace is on the same line as the function declaration).