DUNOF - Don't Use the Negation Operator Frequently
The negation operator slows down the readability of the program, so it is recommended that it should not be used frequently.
Wrong
if ( !isOk )
return 0;
else
return 1;
Tip: Change your programm logic to avoid negation.
Right
if ( isOk )
return 1;
else
return 0;