Sjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 17 days agoCompareBooleanssh.itjust.worksimagemessage-square91fedilinkarrow-up1494arrow-down15
arrow-up1489arrow-down1imageCompareBooleanssh.itjust.worksSjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 17 days agomessage-square91fedilink
minus-squaremarx2k@lemmy.worldlinkfedilinkEnglisharrow-up13·17 days agoClearly it should be return orig == val Duh
minus-squareoffspec@lemmy.worldlinkfedilinkEnglisharrow-up33·17 days agoTo match the current behavior it should be orig != val
minus-squaremarx2k@lemmy.worldlinkfedilinkEnglisharrow-up4·16 days 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?