If your resources are extremely limited, such as in writing code for a tiny microcontroller, then you will want to avoid those temporary variables to squeeze every bit of efficiency out of your code, but I would rate the latter as an unlikely edge-case scenario.