O'Reilly logo
  • You Wang thinks this is interesting:

Use variables to hold intermediate values so you can check them, either with print statements or by using a debugger.

From

Cover of Think Java

Note

This is where I should pay attention: I used to reduce the usage of temp variables, unaware of that it makes debugging much harder when program scales.