Working Effectively with Legacy Code 在线电子书 图书标签: programming 软件开发 编程 refactoring 计算机 软件工程 程序设计 TDD
发表于2024-12-22
Working Effectively with Legacy Code 在线电子书 pdf 下载 txt下载 epub 下载 mobi 下载 2024
重构需要测试 要测试一个旧的东西又必须先重构。 本书为旧项目向测试驱动指明了方向
评分Fantastic master piece
评分TDD, 短小精湛,好读
评分正在读.
评分重构需要测试 要测试一个旧的东西又必须先重构。 本书为旧项目向测试驱动指明了方向
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.
买这本书的原因一是这本书确实是一本关于修改老代码的经典,二来翻译者是中国地区 InfoQ 的主编。 但是入手看了大概到100多页之后实在是忍不住要上来吐槽一下。 首先是翻译的通畅性,应该说是比较烂的水准<del>只能说是将将达到合格的水准,</del>这个可能是个人的偏见。但是...
评分14h:05 in 6 days。我的“重构三部曲”之三,(另外两本是《重构》,《从重构到模式》,这三本书让我对代码的理解有重生之感。大部分书都是教你怎么从0开始写好代码,但是现实是经常从接手已有的项目开始,所以这三本就很有价值。)这本书压箱底8,9年了,前些年有次囫囵吞枣看...
评分Java重构的必读书,非常实用,但有的时候我想,Java代码的重构如此复杂,是否说明面向对象的设计思路在很多场合并不适用呢?比如很多服务端的逻辑本身是典型的函数转换,如果使用FP范型开发会简单的多。 推而广之,如果一种技术在大多数程序员手里都越用越复杂,以至于需要专家...
评分这本书看的时间非常长, 断断续续有3个星期了吧, 不错的书, 至少对我来说是这样, 因为我现在就碰到了书中列出的种种问题:对已有的没有完善的单元测试的核心系统进行重构.为了保证少出乱子, 不出乱子, 我必须小心的对超大类, 巨型方法采用各种重构手段进行修改, 没有单元测试作保...
评分这本书看的时间非常长, 断断续续有3个星期了吧, 不错的书, 至少对我来说是这样, 因为我现在就碰到了书中列出的种种问题:对已有的没有完善的单元测试的核心系统进行重构.为了保证少出乱子, 不出乱子, 我必须小心的对超大类, 巨型方法采用各种重构手段进行修改, 没有单元测试作保...
Working Effectively with Legacy Code 在线电子书 pdf 下载 txt下载 epub 下载 mobi 下载 2024