Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 5 days agoInfallible Codelemmy.mlimagemessage-square151fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageInfallible Codelemmy.mlDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 5 days agomessage-square151fedilink
minus-squarebalsoft@lemmy.mllinkfedilinkarrow-up0·4 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.