Hacker News new | ask | show | jobs
by kmac_ 971 days ago
Names like 'is_invalid' and 'is_inactive' will lead to a double negation.
1 comments

Agreed, this reads so much easier...

  if (!is_valid)

  if (!is_active)