2 ms·
Yeah, valid point. Those other things are factors. If C didn't allow assignments to be used as expressions, then it wouldn't be an issue. Chained assignment i
by adrianmonk 7y ago
Yeah, valid point. Those other things are factors.
If C didn't allow assignments to be used as expressions, then it wouldn't be an issue.
Chained assignment isn't the only way to use an assignment within an expression, so I think it's still more accurate not to say chained assignment as the cause, but chained assignment might have been a big part of the motion for making assignments expressions instead of just statements.