Refactoring: Improving the Design of Existing Code. Don Roberts, John Brant, Kent Beck, Martin Fowler, William Opdyke

Refactoring: Improving the Design of Existing Code


Refactoring.Improving.the.Design.of.Existing.Code.pdf
ISBN: 0201485672,9780201485677 | 468 pages | 12 Mb


Download Refactoring: Improving the Design of Existing Code



Refactoring: Improving the Design of Existing Code Don Roberts, John Brant, Kent Beck, Martin Fowler, William Opdyke
Publisher: Addison-Wesley Professional




Chapter 11 Dealing with Generalization(1)Pull Up FieldTwo subclasseshave the same field. Refactoring: Improving the Design of Existing Code. Where Did Refactoring Come From? Http://sourcemaking.com/refactoring. Refactoring – Improving the design of existing code. Move the field to the superclass.(2)Pull Up MethodYou have methodswith identical results on subcl. What I found most useful are all the examples that are given for almost every refactoring that is described. Final Thoughts Refactoring Helps You Find Bugs . Site: SourceMaking's Refactorings Catalog. It is a great book from Martin Fowler & Co. Http://lens.cos.ufrj.br/sugarloafplop/2002/download/refactoring-tutorial.pdf. Refactoring Improving the Design of Existing Code Replacing the Conditional Logic on Price Code with Polymorphism . By re-running the test cases, the developer can be confident that code refactoring is not damaging any existing functionality. Now you can dramatically improve the design, performance, and manageability of object-oriented code without altering its interfaces or behavior.