1) Always put your conditions inside brackets
Including brackets makes this easier to read.

If (Method_ReturnsBoolean() = True) Then 

'instead of this
If Method_ReturnsBoolean() Then

2) Try to avoid using the Not keyword
Making this explicit is easier to read.

If (Method_ReturnsBoolean() = False) Then 

'instead of this
If Not Method_ReturnsBoolean() Then

© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrevNext