Boolean expressions do not have to be explicitly compared to True or
False. Doing so adds unnecessary complexity to the statement.
Remove the redundancy in the boolean expression:
if Foo = True then begin // ... end; if Bar = False then begin // ... end; DoSomething(not False);
if Foo then begin // ... end; if not Bar then begin // ... end; DoSomething(True);