XOR should be an English word

▻http://webassemblycode.com/xor-english-word

Soup xor salad? This question is much clearer than Soup or salad. Why? As we are going to see in this article, the word XOR would not allow choosing soup and salad, which is not expected, but it is an allowed option when the word OR is used. What is XOR anyway?

ADD, what do you do? I add. SUB, and you? I subtract. XOR? Me? Well I…

Share on TwitterShare on Facebook

Comparing XOR and OR

Table for the XOR function:

A B XOR

0 0 0

0 1 1

1 0 1

1 1 0

Table for the OR function:

A B OR

0 0 0

0 1 1

1 0 1

1 1 1

The only difference between XOR and OR happens for A=1 and B=1, where the result is 0 for XOR and 1 for OR. Real Life, OR or XOR? In real life we say OR, but usually the intention is actually XOR, lets see some examples: Example 1: Mom: Son, where is your father? Son: Working on (...)