Sjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 2 days agoCompareBooleanssh.itjust.worksimagemessage-square87fedilinkarrow-up1465arrow-down19
arrow-up1456arrow-down1imageCompareBooleanssh.itjust.worksSjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 2 days agomessage-square87fedilink
minus-squaremarx2k@lemmy.worldlinkfedilinkEnglisharrow-up12·21 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·5 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?