• rtxn@lemmy.world
    link
    fedilink
    arrow-up
    35
    arrow-down
    1
    ·
    edit-2
    3 days ago

    That’s not the truth. It’s one of infinitely many truths. They hated him because Jesus didn’t understand how implicit type casting between int and bool worked.

    • Tanoh@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      3 days ago

      And then there are things like strcmp() that uses 0 as true. At least it is for a good reason, but still confusing.

      • rtxn@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        3 days ago

        I don’t find it confusing at all. The function doesn’t test equivalence, and the return value is not meant to be a logical value.