News for hackers. Stuff that matters.
Re:Ask HN: Why are toggle switches replacing checkboxes? Isn... by jefftk on Friday January 20, 2023 @08:16AM (#34452703)
This is just about what to call the variable. Instead of:

    if disable_foo:
      ...
I'm recommending:

    if not enable_foo:
      ...

There are no comments on this comment yet.