Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I find it's most often people say "or" when they mean xor, and "and/or" when they mean or.

So perhaps we should start saying either "or" or "ior" (inexclusive or).



The "and/or" thing actually sort of makes sense if you take "or" to mean "xor", since (A XOR B) OR (A AND B) equals (A OR B)


So, slash is really 'or'?

Oh, my head.


    english   logic
    -------   -----
    and       AND
    or        XOR
    /         OR
Actually, since (A XOR B) and (A AND B) are mutually exclusive, (A XOR B) XOR (A AND B) also equals (A OR B), so "/" could be "XOR" too.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: