nave@lemmy.zip to Lemmy Shitpost@lemmy.worldEnglish · 3 年前I wishi.imgur.comexternal-linkmessage-square187fedilinkarrow-up1932
arrow-up1932external-linkI wishi.imgur.comnave@lemmy.zip to Lemmy Shitpost@lemmy.worldEnglish · 3 年前message-square187fedilink
minus-squareKogasa@programming.devlinkfedilinkarrow-up10·3 年前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.
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.