shopping cart
Save up to 30% on our Staff Picks
Call us:  800-878-7323 HELP
McAfee SECURE helps keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams.
Original Essays | October 14, 2009

Emily Pilloton: IMG Will Design for Change...



About six months ago, at a fundraising event for the nonprofit I founded, Project H, a six-year-old girl handed me a pickle jar full of pennies.... Continue »
  1. $24.46 Sale Trade Paper add to wish list

Ships free on qualified orders.
Add to Cart
$56.95
New Trade Paper
Ships in 1 to 3 days
Add to Wishlist
available for shipping or prepaid pickup only
Qty Store Section
25 Local Warehouse Software Engineering- General

Working Effectively with Legacy Code

by Michael Feathers

Working Effectively with Legacy Code Cover

Synopses & Reviews

Publisher Comments:

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.

© Copyright Pearson Education. All rights reserved.

Book News Annotation:

Feathers (Object Mentor) presents his approach to making sense out of legacy code, and describes techniques for getting it under test, refactoring it, and adding features. He discusses instantiating a class in a test harness, adding behavior to existing classes, reasoning forward about effects, controlling the size of classes, and several dependency-breaking techniques. The short code examples are written in Java, C++, and C.
Annotation ©2004 Book News, Inc., Portland, OR (booknews.com)

Synopsis:

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.

About the Author

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.

© Copyright Pearson Education. All rights reserved.

Table of Contents

Preface.

Introduction.

I. THE MECHANICS OF CHANGE.

  1. Changing Software.

  2. Working with Feedback.

  3. Sensing and Separation.

  4. The Seam Model.

  5. Tools.

II. CHANGING SOFTWARE.

  6. I Don’t Have Much Time and I Have To Change It.

  7. It Takes Forever To Make a Change.

  8. How Do I Add a Feature?

  9. I Can’t Get This Class into a Test Harness.

10. I Can’t Run This Method into a Test Harness.

11. I Need to Make a Change.   What Methods Should I Test?

12. I Need to Make Many Changes In One Area Do I Have To Break.

13. I Need To Make a Change but I Don’t Know What Tests To Write.

14. Dependencies on Libraries Are Killing Me.

15. My Application Is All API Calls.

16. I Don’t Understand the Code Well Enough To Change It.

17. My Application Has No Structure.

18. My Test Code Is in the Way.

19. My Project Is Not Object-Oriented.   How Do I Make Safe Changes?

20. This Class Is Too Big and I Don’t Want It to Get Any Bigger.

21. I’m Changing The Same Code All Over the Place.

22. I Need To Change a Monster Method and I Can’t Write Tests for It.

23. How Do I Know That I’m Not Breaking Anything?

24. We Feel Overwhelmed. It Isn’t Going To Get Any Better.

III. DEPENDENCY BREAKING TECHNIQUES.

25. Dependency Breaking Techniques.

Appendix: Refactoring.

Glossary.

 

Product Details

ISBN:
9780131177055
Author:
Feathers, Michael
Publisher:
Prentice Hall PTR
Subject:
Programming - Software Development
Subject:
Application software
Subject:
Development
Subject:
Software Development & Engineering - General
Subject:
Application software -- Development.
Copyright:
Edition Description:
Trade paper
Series:
Robert C. Martin Series
Publication Date:
September 2004
Binding:
Paperback
Grade Level:
Professional and scholarly
Language:
English
Illustrations:
Y
Pages:
456
Dimensions:
967x691x86 148

Other books you might like

  1. $79.75 New Hardcover add to wish list
  2. $45.00 Used Trade Paper add to wish list
  3. $79.99 New Hardcover add to wish list
  4. $47.25 New Trade Paper add to wish list
  5. $59.99 New Trade Paper add to wish list
  6. $51.75 New Trade Paper add to wish list

Related Aisles

  • back to top

Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and eBooks — here at Powells.com.