• Kogasa@programming.dev
    link
    fedilink
    arrow-up
    9
    ·
    1 year ago

    You shouldn’t rename 2 at all. “Even” has a commonly understood meaning that is instantly recognizable from (variable %2) == 0. The bitmask is an overgeneralization.