Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 10 days agoInfallible Codelemmy.mlimagemessage-square157linkfedilinkarrow-up1490arrow-down125
arrow-up1465arrow-down1imageInfallible Codelemmy.mlDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 10 days agomessage-square157linkfedilink
minus-squarebalsoft@lemmy.mllinkfedilinkarrow-up2·9 days 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.