Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 7 days agoInfallible Codeimagemessage-square162linkfedilinkarrow-up1487arrow-down128
arrow-up1459arrow-down1imageInfallible CodeDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 7 days agomessage-square162linkfedilink
minus-squarebalsoft@lemmy.mllinkfedilinkarrow-up2·6 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.