Sjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 1 day agoCompareBooleanssh.itjust.worksimagemessage-square83fedilinkarrow-up1451arrow-down19
arrow-up1442arrow-down1imageCompareBooleanssh.itjust.worksSjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 1 day agomessage-square83fedilink
minus-squareidunnololz@lemmy.worldlinkfedilinkEnglisharrow-up4·11 hours agoUsually comparison functions are supposed to return an integer and are usually useful for sorting. However this one returns a bool so it’s both useless and terribly named.
Usually comparison functions are supposed to return an integer and are usually useful for sorting. However this one returns a bool so it’s both useless and terribly named.