Small matter of code style that I keep coming across.
Whether to write
if ;
or
if
;
or
if
We should always use the braces to avoid introducing bugs when modifying the code manually or through merge tools.
For the reasons behind this, read the following: