The left operand has higher precedence than the others, and the middle operand has lower precedence than the condition expression itself.
More specifically:
The left operand has higher precedence than the others
What does precedence even mean when we're talking about operands? Does this simply say that when we're executing the code the left operand will be evaluated first? Or does this affect the parsing somehow?
the middle operand has lower precedence than the condition expression itself
Again, not sure what precedence means here. According to this:
The expression in the middle of the conditional operator (between ? and :) is parsed as if parenthesized: its precedence relative to ?: is ignored.
Which I interpret as meaning that the middle operand has the highest precedence, i.e. the opposite of what you say. Could you please elaborate on what precedence means in this case?
I can't grasp this sentence from the answer:
More specifically:
What does precedence even mean when we're talking about operands? Does this simply say that when we're executing the code the left operand will be evaluated first? Or does this affect the parsing somehow?
Again, not sure what precedence means here. According to this:
Which I interpret as meaning that the middle operand has the highest precedence, i.e. the opposite of what you say. Could you please elaborate on what precedence means in this case?
(Thanks for the book!)