4 ms·
Names like 'is_invalid' and 'is_inactive' will lead to a double negation.
by kmac_ 3y ago
Names like 'is_invalid' and 'is_inactive' will lead to a double negation.
- latchkey 3y agoAgreed, this reads so much easier... if (!is_valid) if (!is_active)