Working Effectively with Legacy Code (Robert C. Martin Series) by Michael Feathers

BUY IT NEW

  • $59.99 List price
    $43.00 Online price
    $38.70 Member price
    (Save 35%)
    Limited Time Offer! Everyone receives the Member Price on books.
    See Details
  • skip to cart
  • Add To List uiAction=GetAllLists&page=List&pageType=list&ean=9780131177055&productCode=BK&maxCount=100&threshold=3

GET FREE SHIPPING ON ORDERS OF $25 OR MORE

DELIVERY & GIFT DETAILS:

Usually ships within 24 hours

Delivery Time and Shipping Rates

Eligible for gift wrap & gift message.

BUY IT USED

7 copies from $37.80

See All Available

Pick Me Up

Reserve it at BN.com & pick it up in 60 minutes at your local store.

Enter a zip code

Textbook (Paperback - New Edition)

  • 456pp
  • Sales Rank: 76,452

Textbook Information

  • ISBN-13: 9780131177055
  • Edition Description: New Edition
  • Edition Number: 1
  • Pub. Date: October 2004
  • Publisher: Prentice Hall Professional Technical Reference
Buy it Used: 7 copies from $37.80 See All Available

Customers who bought this also bought

 
  • Overview
  • Editorial Reviews
  • Customer Reviews
  • Features

Product Details

  • Pub. Date: October 2004
  • Publisher: Prentice Hall Professional Technical Reference
  • Format: Textbook Paperback, 456pp
  • Sales Rank: 76,452

Synopsis

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

More Reviews and Recommendations

Biography

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.

Customer Reviews

  • Reader Rating:
  • Ratings: 2Reviews: 1

refactor and testby Anonymous

Reader Rating:
See Detailed Ratings

January 16, 2005: Feathers confronts a depressingly familiar problem encountered by many programmers. How to maintain a system of legacy code? Where often there has been no rigorous attempt to test it. Even in a manual fashion. He shows ways to build a test harness to automatically test the code. Even if this does not perform an exhaustive test, it may still be far in advance of what you already have (nothing?) to validate the code. He writes assuming that you might never have met a disciplined testing approach. So unit testing is carefully explained and he builds from there. Simple, useful patterns like Decorator are described. The book is not meant as a comprehensive exposition of patterns. But hopefully, you can see the general idea of patterns and its utility. Large portions of the book are essentially about refactoring legacy code into these patterns, if possible. And also about testing your changes in a systematic way. If you do the former, you should also do the latter. The examples are mostly in C and Java. But that's neither here nor there, if you program in other languages like C# or C. The ideas from the examples carry over well.