Y
Hacker News
new
|
ask
|
show
|
jobs
by
colejohnson66
1930 days ago
I meant equals having a higher precedence than bitwise AND.
As in:
if (x & 2 == 2)
...is actually parsed as:
if (x & (2 == 2))
...which isn’t intuitive.