Friday, August 20, 2010

When Refactoring to a Class

Start with the variables first.

Create the class with only the variables first and then use the new class that contains the variables.

Once that is working, move in the function to the class.

No comments: