Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pcwalton
on Jan 5, 2024
|
parent
|
context
|
favorite
| on:
Dennis Ritchie on the priorities of && || vs. == e...
Yeah, | is technically x + y + x*y over GF(2) (this is the Boolean ring to Boolean algebra relation [1]). The GP is still a good way to remember the precedence though.
[1]:
https://en.wikipedia.org/wiki/Boolean_ring#Relation_to_Boole...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[1]: https://en.wikipedia.org/wiki/Boolean_ring#Relation_to_Boole...