Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 1 month agoInfallible Codelemmy.mlimagemessage-square165linkfedilinkarrow-up1489arrow-down125
arrow-up1464arrow-down1imageInfallible Codelemmy.mlDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 1 month agomessage-square165linkfedilink
minus-squarebalsoft@lemmy.mllinkfedilinkarrow-up2·1 month agoI don’t think there’s much to codegolf. The “obvious” solution (even() (($1%2))) is both shorter and faster. Don’t think it can be optimized much more.
I don’t think there’s much to codegolf. The “obvious” solution (
even() (($1%2))
) is both shorter and faster. Don’t think it can be optimized much more.