Refactoring: Improving the Design of Existing Code

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

Description

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: Improving the Design of Existing Code
    By Martin Fowler

    Refactoring: Improving the Design of Existing Code

  • Refactoring: Improving The Design Of Existing Code
    By Fowler

    Refactoring: Improving The Design Of Existing Code

  • 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: 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 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 ...

  • Refactoring TypeScript: Keeping your code healthy
    By James Hickey

    Some experience in JavaScript and TypeScript can help you easily grasp the concepts explained in this book.

  • Refactoring HTML: Improving the Design of Existing Web Applications
    By Elliotte Rusty Harold

    It is not uncommon for people ranging from the CEO to managers to HTML grunts to object to the concept of refactoring. The concern is expressed in many ways, but it usually amounts to this: We don't have the time to waste on cleaning up ...

  • 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 JavaScript: Turning Bad Code Into Good Code
    By Evan Burchard

    This book provides clear guidance on how best to avoid these pathological approaches to writing JavaScript: Recognize you have a problem with your JavaScript quality. Forgive the code you have now, and the developers who made it.

  • 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.