BartC <b...@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.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to