more coding standards: logical comparisons