Attila Bertók

58%
Flag icon
The firststep is to draw circles for each of the variables, as shown in Figure 20.4. Figure 20.4 Variables in the Reservation class. Next, we look at each method and put down a circle for it. Then we draw a line from each method circle to the circles for any instance variables and methods that it accesses or modifies. It’s usually okay to skip the constructors. Generally, they modify each instance variable.
Attila Bertók
Feature sketching
Working Effectively with Legacy Code
Rate this book
Clear rating
Open Preview