Use Local Variables

  • Wherever reasonable, try to pick the right scope for your data
  • If data is only needed in a method call, make it local

6 / 22