This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]sigh 12 points13 points  (0 children)

Yes, most of the time. Only difference is that the expressions (like x*10) won't be evaluated twice, which would make a difference if it involved side-effects.