Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 1 year agoInfallible Codeimagemessage-square133linkfedilinkarrow-up1477arrow-down126
arrow-up1451arrow-down1imageInfallible CodeDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square133linkfedilink
minus-squarefushuan@piefed.blahaj.zonelinkfedilinkEnglisharrow-up4·1 year agoI 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.