Sjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 5 days agoCompareBooleanssh.itjust.worksimagemessage-square96fedilinkarrow-up1503arrow-down19
arrow-up1494arrow-down1imageCompareBooleanssh.itjust.worksSjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 5 days agomessage-square96fedilink
minus-squaremarx2k@lemmy.worldlinkfedilinkEnglisharrow-up14·4 days agoClearly it should be return orig == val Duh
minus-squareoffspec@lemmy.worldlinkfedilinkEnglisharrow-up34·4 days agoTo match the current behavior it should be orig != val
minus-squaremarx2k@lemmy.worldlinkfedilinkEnglisharrow-up4·4 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?