Always add braces

Tim Abell · August 28, 2018

Small matter of code style that I keep coming across.

Whether to write

if (thing) Action();


if (thing)

We should always use the latter to avoid introducing bugs when modifying the code manually or through merge tools.

For the reasons behind this, read the following:

Share: Tweet | LinkedIn
Suggest improvments: page source on github