One of the worse parts of C is how for historical reasons, a < b & 0x1234 will get evaluated as (a < b) & 0x1234 and not a < (b & 0x1234)

Follow

@vaporeon_ I'm not gonna lie when I encounter situations like these I usually wrap operations in parenthesis anyway because the rules for operation order are usually confusing and I find it easier to read

@wallhackio Same, if I can't remember the precedence rules (<< / >> and & / | are the main ones that I keep forgetting about), then I'll add extra parentheses just to be careful

Sign in to participate in the conversation
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.