• abcd@feddit.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    I agree. It’s totally simple and people overcomplicate.

    BTW one nice thing about German is, that you can even use the same logic for Boolean operators: The AND operator ∧ is called UND being the shorter word (when you put the name at the top). The OR operator ∨ is called ODER being the longer word.

    You can use the same logic in English if you Place AND/OR at the bottom instead 😁

    • affiliate@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 month ago

      i also think the “etymology” of the boolean symbols is very helpful in remembering which is which. in lattice theory, their use was inspired by similar notation in set theory. so, AB is like AB, while AB is like AB.

      generally, AB is “the smallest thing that’s greater than or equal to both A and B”, while AB is “the biggest thing that’s less than or equal to both A and B”. similarly to how AB is “the smallest set that contains both A and B”, while AB is “the largest set that’s contained in both A and B”. you can also take things a step further by saying that in the context of sets, AB means AB. doing this means that A ∨ B = A ∪ B, while A ∧ B = A ∩ B. and from this perspective, the “sharp-edged” symbols (<, , ) are just a generalization of their “curvy” counterparts (, , ).

      in the context of boolean algebra, you can set False < True, which at first may seem a bit arbitrary, but it agrees with the convention the that False = 0 and True = 1, and it also makes AB and AB have the same meanings as described above.