Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 7 days agoInfallible Codelemmy.mlimagemessage-square163linkfedilinkarrow-up1486arrow-down128
arrow-up1458arrow-down1imageInfallible Codelemmy.mlDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 7 days agomessage-square163linkfedilink
minus-squareAedis@lemmy.worldlinkfedilinkarrow-up2·7 days agoI’m waiting for a code golf style solution now.
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’m waiting for a code golf style solution now.
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.