Refactoring: Improving the Design of Existing Code

Refactoring: Improving the Design of Existing Code
ISBN-10
0134757599
ISBN-13
9780134757599
Series
Refactoring
Category
Computers
Pages
448
Language
English
Published
2018-11-12
Publisher
Addison-Wesley Professional
Author
Martin Fowler

Description

"Whenever you read [Refactoring], it's time to read it again. And if you haven't read it yet, please do before writing another line of code." -David Heinemeier Hansson, Creator of Ruby on Rails, Founder & CTO at Basecamp Fully Revised and Updated--Includes New Refactorings and Code Examples "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." -M. Fowler (1999) For more than twenty years, experienced programmers worldwide have relied on Martin Fowler's Refactoring to improve the design of existing code and to enhance software maintainability, as well as to make existing code easier to understand. This eagerly awaited new edition has been fully updated to reflect crucial changes in the programming landscape. Refactoring, Second Edition, features an updated catalog of refactorings and includes JavaScript code examples, as well as new functional examples that demonstrate refactoring without classes. Like the original, this edition explains what refactoring is; why you should refactor; how to recognize code that needs refactoring; and how to actually do it successfully, no matter what language you use. Understand the process and general principles of refactoring Quickly apply useful refactorings to make a program easier to comprehend and change Recognize "bad smells" in code that signal opportunities to refactor Explore the refactorings, each with explanations, motivation, mechanics, and simple examples Build solid tests for your refactorings Recognize tradeoffs and obstacles to refactoring Includes free access to the canonical web edition, with even more refactoring resources. (See inside the book for details about how to access the web edition.)

Other editions

Similar books

  • Refactoring: Ruby Edition
    By Martin Fowler, Kent Beck, Jay Fields

    This book will help you Understand the core principles of refactoring and the reasons for doing it Recognize “bad smells” in your Ruby code Rework bad designs into well-designed code, one step at a time Build tests to make sure your ...

  • Refactoring: Improving The Design Of Existing Code
    By Fowler

    Refactoring: Improving The Design Of Existing Code

  • Refactoring Databases: Evolutionary Database Design (paperback)
    By Scott W. Ambler, Pramod J. Sadalage

    The second half of this book systematically covers five major categories of database refactorings.

  • Refactoring for Software Design Smells: Managing Technical Debt
    By Girish Suryanarayana, Ganesh Samarthyam, Tushar Sharma

    A root cause analysis of this problem pointed to the refactoring that the developer had performed. While refactoring the large and complex method, he had accidentally broken the logic that involved thread termination.

  • Refactoring Workbook
    By William C. Wake

    Refactoring Workbook provides user-friendly references such as: A handy, quick-reference "smell finder" A standard format for describing smells Appendices showing key refactorings A listing of Java(tm) tools that support refactoring This ...

  • Professional Refactoring in Visual Basic
    By Danijel Arsenovski

    As you will see, there is no single tool that encompasses all the functionality you need for a successful refactoring process. Visual Studio is on the road to providing a unified solution, but for the time being you have to make an ...

  • Refactoring to Patterns
    By Joshua Kerievsky

    This book introduces the theory and practice of pattern-directed refactorings: sequences of low-level refactorings that allow designers to safely move designs to, towards, or away from pattern implementations.

  • Refactoring at Scale
    By Maude Lemaire

    This book will help you achieve a newfound ability to productively introduce important changes in your codebase.

  • Refactoring with Relations. A New Method for Refactoring Object-Oriented Software
    By Jr., Sergio Pissanetzky

    Refactoring is about structure, and the book is about structure. The book proceeds to discuss the structure of code, argues that it needs to be identified, separated from language constructs, and encapsulated into a container.

  • Pro PHP Refactoring
    By Francesco Trucchia, Jacopo Romei

    Then, when the test is green, we can start doing refactoring. In most cases, the proliferation of bugs is due to an untested code, which is code with an incorrect design. If you cannot test your code, don't blame the testing framework.