Sjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 2 months agoCompareBooleanssh.itjust.worksexternal-linkmessage-square92fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkCompareBooleanssh.itjust.worksSjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 2 months agomessage-square92fedilink
minus-squareidunnololz@lemmy.worldlinkfedilinkEnglisharrow-up0·2 months 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.