Destide@feddit.uk 发于 Programmer Humor@lemmy.mlEnglish · 1 年前Infallible Codelemmy.mlimagemessage-square149linkfedilinkarrow-up1488arrow-down128
arrow-up1460arrow-down1imageInfallible Codelemmy.mlDestide@feddit.uk 发于 Programmer Humor@lemmy.mlEnglish · 1 年前message-square149linkfedilink
minus-squarefushuan@piefed.blahaj.zonelinkfedilinkEnglisharrow-up4·1 年前I would have preferred for the function to be called mod, since it’s the modulo operation, which in math is represented with a percentage or “mod”. Most programming languages use a percentage because of that, so do a lot of calculators.
I would have preferred for the function to be called mod, since it’s the modulo operation, which in math is represented with a percentage or “mod”. Most programming languages use a percentage because of that, so do a lot of calculators.