Sjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 1 day agoCompareBooleanssh.itjust.worksimagemessage-square85fedilinkarrow-up1460arrow-down19
arrow-up1451arrow-down1imageCompareBooleanssh.itjust.worksSjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 1 day agomessage-square85fedilink
minus-squaremarx2k@lemmy.worldlinkfedilinkEnglisharrow-up12·20 hours agoClearly it should be return orig == val Duh
minus-squareoffspec@lemmy.worldlinkfedilinkEnglisharrow-up25·17 hours agoTo match the current behavior it should be orig != val
minus-squaremarx2k@lemmy.worldlinkfedilinkEnglisharrow-up2·4 hours agoYou’re hired. Can your start on Monday?
Clearly it should be
return orig == val
Duh
To match the current behavior it should be orig != val
You’re hired. Can your start on Monday?