Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 6 months agoInfallible Codeimagemessage-square160fedilinkarrow-up1492arrow-down128
arrow-up1464arrow-down1imageInfallible CodeDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 6 months agomessage-square160fedilink
minus-squareAedis@lemmy.worldlinkfedilinkarrow-up2·6 months agoI’m waiting for a code golf style solution now.
minus-squarebalsoft@lemmy.mllinkfedilinkarrow-up2·6 months 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.