Precedence Madness

Why does == have higher precedence than &? It took me forever to figure out why my masked comparison wasn't producing the expected result, until I forced the parentheses myself.

This post is for members only

Already have an account? Sign in.

Subscribe to A garage sale for your mind

Don’t miss out on the latest posts. Sign up now to get access to the library of members-only posts.
[email protected]
Subscribe