| Example | |
The first if statement may appear to check if the arguments are the same, but it will only succeed if they are different.
|
| Solution | |
To avoid this misunderstanding a coding guideline may require that the if-statements be written as below.
|