Jump to ratings and reviews
Rate this book

Robert C. Martin Series

Working Effectively with Legacy Code

Rate this book
Get more out of your legacy systems, more performance, functionality, reliability, and manageability.Is your code easy to change? Can you get nearly instantaneous feedback when you do change it? Do you understand it? If the answer to any of these questions is no, you have legacy code, and it is draining time and money away from your development efforts.

In this book, Michael Feathers offers start-to-finish strategies for working more effectively with large, untested legacy code bases. This book draws on material Michael created for his renowned Object Mentor seminars, techniques Michael has used in mentoring to help hundreds of developers, technical managers, and testers bring their legacy systems under control.

The topics covered include:

Understanding the mechanics of software change, adding features, fixing bugs, improving design, optimizing performance
Getting legacy code into a test harness
Writing tests that protect you against introducing new problems
Techniques that can be used with any language or platform, with examples in Java, C++, C, and C#
Accurately identifying where code changes need to be made
Coping with legacy systems that aren't object-oriented
Handling applications that don't seem to have any structure

This book also includes a catalog of twenty-four dependency-breaking techniques that help you work with program elements in isolation and make safer changes.

464 pages, Paperback

First published September 1, 2004

Loading...
Loading...

About the author

Michael C. Feathers

6 books281 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
1,918 (40%)
4 stars
1,790 (38%)
3 stars
748 (15%)
2 stars
188 (4%)
1 star
53 (1%)
Displaying 1 - 2 of 2 reviews
Profile Image for Pablo.
42 reviews1 follower
January 17, 2018
Excelente catálogo de técnicas de refactor. Imprescindible para alguien que tenga que pelear con aplicaciones "legacy".
Hay que tener en cuenta que las técnicas de refactor de este libro están enfocadas a conseguir cobertura de tests en una aplicación que no cuenta con ellos, para después seguir añadiendo funcionalidades e incluso corregir bugs.
Me han resultado un poco difíciles de seguir los ejemplos en C y C++ ya que no he leído mucho código en estos lenguajes, aunque en general los ejemplos son muy claros y fáciles de entender.
Un imprescindible.
7 reviews2 followers
February 8, 2019
Excelente libro sobre cómo lograr testear y luego refactorizar código sin tests, difícil de testear.
Displaying 1 - 2 of 2 reviews