Sjmarf to Programming Humor@lemmy.worldEnglish · 24 days agoCompareBooleansimagemessage-square94fedilinkarrow-up1514arrow-down19
arrow-up1505arrow-down1imageCompareBooleansSjmarf to Programming Humor@lemmy.worldEnglish · 24 days agomessage-square94fedilink
minus-squareidunnololz@lemmy.worldlinkfedilinkEnglisharrow-up11·23 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.