• Giooschi@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    9 个月前

    You don’t necessarily have to write a non-transitive cmp() function willingly, it may happen that you write one without realizing due to some edge cases where it’s not transitive.