Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 1 day agoInfallible Codelemmy.mlimagemessage-square133fedilinkarrow-up1432arrow-down123
arrow-up1409arrow-down1imageInfallible Codelemmy.mlDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 1 day agomessage-square133fedilink
minus-squareAedis@lemmy.worldlinkfedilinkarrow-up2·17 hours agoI’m waiting for a code golf style solution now.
minus-squarebalsoft@lemmy.mllinkfedilinkarrow-up1·10 hours 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.