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



Download eBook




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
Format: pdf
Page: 468


Guided by Tests” location 1258; M. In this post I'll discuss some of the disadvantages of modules, and suggest that Ruby programmers should see them as a method of last resort for code sharing only after carefully considering alternative approaches such as creating classes. Martin, “SRP: The Single Responsibility Principle”, http://www.objectmentor.com/resources/articles/srp.pdf. It is a great book from Martin Fowler & Co. Refactoring: Improving the Design of Existing Code By Martin Fowler is another timeless classic suggested by @Pratap, This book is also in my wish list and next in my reading queue. 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. Fowler, “Refactoring: Improving the Design of Existing Code” location 3320; B. ɇ�构的目的是让可以工作的代码更好,使面向对象的代码更简单,更容易维护。书上还说,所有的程序员应当能使用重构技术改进他们的代码。 nuts-and-bolts n.具体细节 前言 Chapter 3. Refactoring: Improving the Design of Existing Code (Martin Fowler, Kent Beck et al.) – The first couple of chapters are a must read for every developer. I got curious and downloaded its Eclipse plugin, I then picked the first bad smell code which Martin Fowler explains in his book: “Refactoring: Improving the design of existing code”. It is the process of changing a software system in such a way that it does not alter the external behavior of the code, yet improves its internal structure. Now you can dramatically improve the design, performance, and manageability of object-oriented code without altering its interfaces or behavior. Move the field to the superclass.(2)Pull Up MethodYou have methodswith identical results on subcl. In addition to creating a design and coding it, you can now analyze the design of existing code and improve it. Once upon a time, a consultant made a visit to a development project. Chapter 11 Dealing with Generalization(1)Pull Up FieldTwo subclasseshave the same field. Preface from the book 'Refactoring: Improving the Design of Existing Code'. What I found most useful are all the examples that are given for almost every refactoring that is described. This book is an extensive compilation of refactorings that range from providing meaningful names for variable to collapsing class hierarchies. Refactoring enables an approach to design I call reflective design. Refactoring is about improving the design of existing code.