Refactoring: Improving the Design of Existing Code pdf
Par wheelock lawerence le mercredi, mai 24 2017, 05:25 - Lien permanent
Refactoring: Improving the Design of Existing Code by Don Roberts, John Brant, Kent Beck, Martin Fowler, William Opdyke
Refactoring: Improving the Design of Existing Code Don Roberts, John Brant, Kent Beck, Martin Fowler, William Opdyke ebook
ISBN: 0201485672, 9780201485677
Publisher: Addison-Wesley Professional
Page: 468
Format: pdf
Way back in 1999 Martin Fowler published Refactoring — Improving the Design of Existing Code. By re-running the test cases, the developer can be confident that code refactoring is not damaging any existing functionality. This book is all about refactoring. It changed the way I am writing code. In 2003, I published a Perl 5 “translation” of the first chapter of the book “Refactoring - Improving the Design of Existing Code”, Addison Wesley, by Martin Fowler et al., on my website. According to Refactoring: Improving the Design of Existing Code (by Martin Fowler, Kent Beck, John Brant, William Opdyke, Don Roberts p.87), there are two ways to solve it. Chapter 11 Dealing with Generalization(1)Pull Up FieldTwo subclasseshave the same field. Also consider reading Martin Fowler's “Refactoring: Improving the Design of Existing Code”. Refactoring – Improving the design of existing code. Refactoring: Improving the Design of Existing Code. Move the field to the superclass.(2)Pull Up MethodYou have methodswith identical results on subcl. It was the first I've read related to “clean code”. In my short career I have seen entire systems who should have had a major refactoring.