• @rtxn@lemmy.world
    link
    fedilink
    0
    edit-2
    29 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.

      • @CanadaPlus@lemmy.sdf.org
        link
        fedilink
        0
        edit-2
        28 days ago

        I told them to leave a pamphlet and fuck off, but the pamphlet was a fixed-point combinator that put them back on my porch again.

    • @Tanoh@lemmy.world
      link
      fedilink
      028 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
        028 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.