T
Tim Rentsch
Seebs said:Hmm. Good point. Assuming that the specified ordering doesn't actually
mean that things MUST be evaluated in that order, only that they must
not produce detectably different results, that's probably viable.
Even if compilers can do 99% of the possible optimizations
in such cases, I don't see any reason to further burden
the compiler to provide a feature that IMO (and also
those of many other people) has a negative utility.
If the language semantics specifies an order of evaluation
for, eg, function call arguments, that will just encourage
people to write tricky code that depends on that ordering.
I don't see any reason to encourage people to write tricky
code; there's already more than enough encouragement on
that front.