NTFS in Linux (2024-02-04)

Do not unnecessarily use braces where a single statement will do.

I would have assumed that for safety, the coding style would have recommended one always use curly braces, even unnecessarily when if or for is followed by a single statement.

Overall - the placement of braces is unsurprising - at the end of the first line of the for/if etc and at the beginning of the last line.


However, there is one special case, namely functions: they have the opening brace at the beginning of the next line, thus:

I would have personally preferred to follow the for/if braces placement for functions too i.e. placing the opening brace as the last character on the line declaring the function.