Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 3 days agoInfallible Codelemmy.mlexternal-linkmessage-square160fedilinkarrow-up1481arrow-down124
arrow-up1457arrow-down1external-linkInfallible Codelemmy.mlDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 3 days agomessage-square160fedilink
minus-squarebalsoft@lemmy.mllinkfedilinkarrow-up2·3 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.