Sjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 25 days agoCompareBooleanssh.itjust.worksimagemessage-square80fedilinkarrow-up172arrow-down10
arrow-up172arrow-down1imageCompareBooleanssh.itjust.worksSjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 25 days agomessage-square80fedilink
minus-squareidunnololz@lemmy.worldlinkfedilinkEnglisharrow-up7·24 days 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.