-
Why is it that
xor
isn't a standard operator? Instead we have to sayx and not y or not x and y
, which is way more complicated than it needs to be. Alternatively,x != y
but that doesn't communicate the intent. Is there any language with a built-inx xor y
operator?