Semicolons

Do I need to put a semicolon after brackets e.g.(conditional statements)

like this:

if (true);
{
}

no. That would be problematic.

the general advise is to use something like a linter to deal with these kind of problems.

1 Like