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.
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.
發表於2025-04-14
Working Effectively with Legacy Code 2025 pdf epub mobi 電子書 下載
14h:05 in 6 days。我的“重構三部麯”之三,(另外兩本是《重構》,《從重構到模式》,這三本書讓我對代碼的理解有重生之感。大部分書都是教你怎麼從0開始寫好代碼,但是現實是經常從接手已有的項目開始,所以這三本就很有價值。)這本書壓箱底8,9年瞭,前些年有次囫圇吞棗看...
評分 評分 評分《修改代碼的藝術》看完瞭 這本書很薄,但是看起來還是很吃力,裏麵介紹瞭很多重構的知識,而且有很多c++的內容,有的地方也是似懂非懂的,如果瞭解設計模式和重構,就會輕鬆很多,可能藝術這東西,本身就不容易懂吧。裏麵對單元測試的依賴性很強,其實還是一本不錯的書,你完...
評分如果你想重構,重要的前提就是有強力的測試.哪怕你有自動化重構工具在手. 如果你想對既有代碼進行測試,你就必須先重構,因為代碼根本就沒有辦法在測試工具中實例化. …… 新寫的代碼大多是可以先進行測試,然後再掛接到原有代碼中.而對付遺留的代碼,我們則需要一點點地把代碼摳齣...
圖書標籤: programming 軟件開發 編程 refactoring 計算機 軟件工程 程序設計 TDD
重構需要測試 要測試一個舊的東西又必須先重構。 本書為舊項目嚮測試驅動指明瞭方嚮
評分正在讀.
評分很經典
評分被逼的,淫僧啊。。。
評分2012-02-07 有點羅嗦,沒有《重構》那種耳目一新的感覺。
Working Effectively with Legacy Code 2025 pdf epub mobi 電子書 下載