SDSU CS 683 Emerging Technologies: Embracing Change
Spring Semester, 2001
Assignment 4
    Assignment Index        
© 2001, All Rights Reserved, SDSU & Roger Whitney
San Diego State University -- This page last updated 25-Mar-01

Assignment 4
Due April 5

1. Refactor your Ternary tree code from assignment 1 problem 3 using your tests from assignment 2.

2. How much did you have to change your tests as you refactored your code?


When refactoring a program, one can not tell in advance which refactoring one will need. Hence it is hard to specify which sections of the refactoring book to read. Chapter 3 gives an overview of common problems in code and lists possible refactorings to correct the problems. So it is a good place to start. Many of the solutions to problem 3 in assignment 1 had complex conditional expressions. So chapter 9 should be useful.

Copyright ©, All rights reserved.
2001 SDSU & Roger Whitney, 5500 Campanile Drive, San Diego, CA 92182-7700 USA.
OpenContent license defines the copyright on this document.

    visitors since 25-Mar-01