News for hackers. Stuff that matters.
Re:C++ Attribute: Likely, Unlikely by kmac_ on Sunday October 22, 2023 @02:12PM (#37977700)
Names like 'is_invalid' and 'is_inactive' will lead to a double negation.
Re:C++ Attribute: Likely, Unlikely by latchkey on Sunday October 22, 2023 @02:38PM (#37977914)
Agreed, this reads so much easier...

  if (!is_valid)

  if (!is_active)