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

It's not "just an implementation decision"[1], it's a reasonable mathematical definition: for a binary operator OP, we define it's n-parameter version whenever a OP (b OP c) == (a OP b) op c, which is true for XOR but not e.g. for XNOR (F == F) == T is F, but F == (F == T) is T.

[1] and sorry if I'm falling victim to the difficulty of interpreting tone on the internet



By symmetry it must be true for XNOR also, and:

  (F == F) == T in fact is T




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

Search: