You are here

Tidying Up Code

Subscribe to Syndicate
After completing code changes and final testing of any code class, always:
  • Remove unused variables from the Local variables
  • Remove unused variables from the Instance Variables. If a variable is not used in a superclass class, but is used in a number of subclasses, then in the superclass, in the construct, after the quit method, calculate the variable as itself so it will not show up as unreferenced.
  • Check the class variables and see if they are used and remove if not