3 ms·
> Total side note, but I’ve noticed that programmers (including myself) are more prone to read English or as xor than, for want of a better term, normal people.
by danans 6y ago
> Total side note, but I’ve noticed that programmers (including myself) are more prone to read English or as xor than, for want of a better term, normal people. Not sure why this is.
The English terms 'or' and 'and' used in normal, non-mathematical speech are far closer to the set operations, not boolean propositional logic.
The set operations they refer to are of course context dependent. For example, in a question context, 'or' is asking for the selection of one set or another. In a statement context, it usually indicates that it refers to a member of either set, unless used with the qualifier 'either' in which case the statement once again requires the choice of one set or another.