Destide@feddit.ukcake to Programmer Humor@lemmy.mlEnglish · 1 year agoInfallible Codelemmy.mlimagemessage-square150linkfedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageInfallible Codelemmy.mlDestide@feddit.ukcake to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square150linkfedilink
minus-squareAedis@lemmy.worldlinkfedilinkarrow-up0·1 year agoI’m waiting for a code golf style solution now.
minus-squarebalsoft@lemmy.mllinkfedilinkarrow-up0·1 year 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.