Sjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 6 months agoCompareBooleanssh.itjust.worksimagemessage-square97linkfedilinkarrow-up1515arrow-down19
arrow-up1506arrow-down1imageCompareBooleanssh.itjust.worksSjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 6 months agomessage-square97linkfedilink
minus-squaremarx2k@lemmy.worldlinkfedilinkEnglisharrow-up14·6 months agoClearly it should be return orig == val Duh
minus-squareoffspec@lemmy.worldlinkfedilinkEnglisharrow-up34·6 months agoTo match the current behavior it should be orig != val
minus-squaremarx2k@lemmy.worldlinkfedilinkEnglisharrow-up4·6 months 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?