“The end of art is to figure the hidden meaning of things and not their appearance; for in this profound truth lies their true reality, which does not appear in their external outlines.”
Beyond simple rewriting lies the deeper analysis and restructuring of your program. In this chapter I’ll cover several important aspects of restructuring inherited code.
A big problem with the maintainability of many programs is that their code units are just too long. (By “code unit” I mean a subroutine or the main program.) Once a code unit exceeds the length of what you can view ...