21 ms·
Sure its sloppy, but in my experience at least it's a very widespread and normal terminology. Colloquially, an expression is something on the right hand side o
by captainmuon 6y ago
Sure its sloppy, but in my experience at least it's a very widespread and normal terminology.
Colloquially, an expression is something on the right hand side of `=` or in parentheses, and that returns a value. Most importantly, "returns" implies that some kind of computation may go on, maybe with side effects. I'm aware that the C standard uses the terms differently, but there is usually a difference between the mental model and the C standard, or the parser.
- rootlocus 6y agoAn expression evaluates to a value. That value may be an lvalue, and it can be present on the left hand side of `=`.