Operator Precedence

Noun · Development

Definitions

  1. The set of rules that determines the order in which operators are evaluated in an expression when parentheses are absent — for example, `*` binds tighter than `+`, so `2 + 3 * 4` evaluates as `2 + (3 * 4)` rather than `(2 + 3) * 4`.

    In plain English: The built-in rules that decide which math or logic operations happen first when you don't use parentheses.

    Example: "The bug was an operator precedence issue — the bitwise AND bound tighter than the equality check, so the condition was always true."

Related Terms