Sjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 1 day agoCompareBooleanssh.itjust.worksimagemessage-square84fedilinkarrow-up1451arrow-down19
arrow-up1442arrow-down1imageCompareBooleanssh.itjust.worksSjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 1 day agomessage-square84fedilink
minus-squaremarx2k@lemmy.worldlinkfedilinkEnglisharrow-up12·16 hours agoClearly it should be return orig == val Duh
minus-squareoffspec@lemmy.worldlinkfedilinkEnglisharrow-up24·13 hours agoTo match the current behavior it should be orig != val
minus-squaremarx2k@lemmy.worldlinkfedilinkEnglisharrow-up1·4 minutes 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?