Undefined behaviour in C [was Re: The Cost of Dynamism]
Paul Rubin
no.email at nospam.invalid
Sun Mar 27 02:34:11 EDT 2016
BartC <bc at freeuk.com> writes:
> But my suggestion was to have required a keyword in front of
> such expressions.
Should there be a keyword in front of a line containing "sqrt(x)" ?
What about "launch(missiles)" ?
The compiler can't tell which of those expressions has a side effect.
The first might be buggy code but the second is idiomatic.
More information about the Python-list
mailing list