Page 178 -
P. 178

The programming team can make maintenance of such difficult code much easier by
                          introducing refactoring. Any time a programmer encounters a twisted, tangled block of
                          code, she could take the time to refactor it into a much more manageable block before
                          attempting to do any work on it. Not only would refactoring make each individual main-
                          tenance task easier, but eventually a large portion of the code could be detangled so that it
                          is approachable and much more easily maintained. Unit tests can be used to ensure that
                          the behavior of the software does not change during the refactoring steps.





























































                   170  CHAPTER SEVEN
   173   174   175   176   177   178   179   180   181   182   183