ShaggySnacks@lemmy.myserv.one to Today I Learned@lemmy.worldEnglish · 9 months agoTIL About How 11 Lines of Code Supported Web Development and the Code Was Deleted It Broke the Internetgetpocket.comexternal-linkmessage-square67fedilinkarrow-up1142arrow-down120
arrow-up1122arrow-down1external-linkTIL About How 11 Lines of Code Supported Web Development and the Code Was Deleted It Broke the Internetgetpocket.comShaggySnacks@lemmy.myserv.one to Today I Learned@lemmy.worldEnglish · 9 months agomessage-square67fedilink
minus-squareRikudou_Sage@lemmings.worldlinkfedilinkEnglisharrow-up9·9 months agoI mean, does any language implement is_odd() natively? Doesn’t everyone implement modulus and pretty much assumes that you remember modulus from elementary and can infer that even numbers are those where x % 2 == 0.
I mean, does any language implement
is_odd()
natively? Doesn’t everyone implement modulus and pretty much assumes that you remember modulus from elementary and can infer that even numbers are those wherex % 2 == 0
.