Comment
Comment by nitroll
And is that so bad?
So often i did stuff like that, then finding I actually need the result of x.calculate_weight() inside the condition, or to debug it or log it in some way. Then it has to be extracted anyway.
Be the first to share your thoughts.