Sjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 1 day agoCompareBooleanssh.itjust.worksimagemessage-square78fedilinkarrow-up1447arrow-down19
arrow-up1438arrow-down1imageCompareBooleanssh.itjust.worksSjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 1 day agomessage-square78fedilink
minus-squaremarx2k@lemmy.worldlinkfedilinkEnglisharrow-up12·16 hours agoClearly it should be return orig == val Duh
minus-squareoffspec@lemmy.worldlinkfedilinkEnglisharrow-up22·12 hours agoTo match the current behavior it should be orig != val
Clearly it should be
return orig == val
Duh
To match the current behavior it should be orig != val