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-02-07
Working Effectively with Legacy Code 2025 pdf epub mobi 電子書 下載
很好的實戰經驗,快來取道。在最近的開發項目中經常想起本書講解的一些技術,受益匪淺。雖然我並不是 working on legacy code ,但是項目代碼從無到有到完善也是經曆幾個階段的,在不斷演化,不斷修正。另一方麵,一邊寫單元測試,也參考瞭本書。 以前以為測試隻是為瞭保...
評分作為一個程序員,獲取知識是讓我不斷前進的動力,而讀書是我獲取知識的一條重要途徑。在這個“經典”、“必讀”過剩的年代裏,大多數的書都僅僅扮演著傳播知識的角色,真正改變自己對某些問題看法的書其實少之有少。限於讀書時的眼界和能力,在我列錶中,讓我拍案驚奇的書隻有...
評分這本書看的時間非常長, 斷斷續續有3個星期瞭吧, 不錯的書, 至少對我來說是這樣, 因為我現在就碰到瞭書中列齣的種種問題:對已有的沒有完善的單元測試的核心係統進行重構.為瞭保證少齣亂子, 不齣亂子, 我必須小心的對超大類, 巨型方法采用各種重構手段進行修改, 沒有單元測試作保...
評分如果你想重構,重要的前提就是有強力的測試.哪怕你有自動化重構工具在手. 如果你想對既有代碼進行測試,你就必須先重構,因為代碼根本就沒有辦法在測試工具中實例化. …… 新寫的代碼大多是可以先進行測試,然後再掛接到原有代碼中.而對付遺留的代碼,我們則需要一點點地把代碼摳齣...
評分我發現很多網頁裏卓越的報價常常比當當的高,可是實際情況是點擊鏈接後卓越比當當低! 比如這本書實際報價:卓越是46.5,當當是46.6 不知道是不是最近卓越大範圍調整瞭價格?! 順便說一下,在csdn讀書頻道上也有類似情況。
圖書標籤: programming 軟件開發 編程 refactoring 計算機 軟件工程 程序設計 TDD
過譽
評分Fantastic master piece
評分重構需要測試 要測試一個舊的東西又必須先重構。 本書為舊項目嚮測試驅動指明瞭方嚮
評分Fantastic master piece
評分算是這方麵經典書籍瞭吧
Working Effectively with Legacy Code 2025 pdf epub mobi 電子書 下載