tI’d like to add the following, which improved the readabillity of my own code by a lot.
Wrap the code as little as possible:
// Bad
If THIS = THAT Then
If THIS Is Not THAT Then
...
End If
End If
// Good
If THIS <> THAT Then Return
If THIS Is THAT Then Return
...
12 posts - 8 participants