Working effectively with legacy code

Front Cover
Prentice Hall PTR, 2004 - Computers - 434 pages
11 Reviews
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 structureThis book also includes a catalog of twenty-four dependency-breaking techniques that help you work with program elements in isolation and make safer changes.(c) Copyright Pearson Education. All rights reserved.

From inside the book

What people are saying - Write a review

User ratings

5 stars
9
4 stars
1
3 stars
1
2 stars
0
1 star
0

LibraryThing Review

User Review  - mgholls - LibraryThing

This book provides some great insight into writing testable code even if you are not dealing with a "legacy" code base. His style is great and it really is an interesting and comfortable read. Read full review

LibraryThing Review

User Review  - sangahn - LibraryThing

Great book, but get's kinda tedoius. Abstract interface, abstract implementation, so on and so on. However, I consider it to be a must read for programmers who don't work at startups (ie inevitably deal w/ legacy code). Read full review

Contents

Foreword by Robert C Martin xv
Introduction xxi
Working with Feedback 9
Copyright

21 other sections not shown

Common terms and phrases

References to this book

All Book Search results »

About the author (2004)

MICHAEL C. FEATHERS works for Object Mentor, Inc., one of the world's top providers of mentoring, skill development, knowledge transfer, and leadership services in software development. He currently provides worldwide training and mentoring in Test-Driven Development (TDD), Refactoring, OO Design, Java, C#, C++, and Extreme Programming (XP). Michael is the original author of CppUnit, a C++ port of the JUnit testing framework, and FitCpp, a C++ port of the FIT integrated-testing framework. A member of ACM and IEEE, he has chaired CodeFest at three OOPSLA conferences.
(c) Copyright Pearson Education. All rights reserved.

Bibliographic information