Stefan Behnel wrote:
This introduces problems when the arguments have side effects or are not
simple, e.g.
f(g(a), a.x, h(a))
>
What do you think about this?
I think it's a bad idea to write code that relies on the order
of evaluation like this. If the order matters, it's better to
be explicit about it:
arg1 = g(a)
arg2 = h(a)
f(arg1, a.x, arg2)
So I would say it's not something worth worrying about overly
much.
--
Greg
_______________________________________________
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel