4 ms·
Undefined depends on the language. In many languages, the precedence rules are explicit enough that this code is clearly defined. In Ultilang (my own), Boo, a
by daeken 17y ago
Undefined depends on the language. In many languages, the precedence rules are explicit enough that this code is clearly defined. In Ultilang (my own), Boo, and others, this would be parsed as x + {x += 1; x} and processed left-to-right.
- cperciva 17y agoUndefined depends on the language. Of course. What I didn't mention is that my favourite language is C. :-)