Refactoring to Patterns 在线电子书 图书标签: 设计模式 Refactoring 软件工程 重构 模式 pattern 计算机 方法论
发表于2024-05-22
Refactoring to Patterns 在线电子书 pdf 下载 txt下载 epub 下载 mobi 下载 2024
在《重构》的基础上进一步阐述了重构和模式之间的关系,并提供了向模式重构的思路和步骤,非常赞的一本书!
评分连接起Martin Fowler之Refactoring与GoF之Design Patterns的桥梁。展现了如何在重构过程中运用模式的经验,不过模式类的书始终需要实践才能学得通。
评分原创性的想法少,或者在某些工程实践中堵住了再来按图索骥会觉得好吧。个人更推荐Michael Feathers的那本Working Effectively with Legacy Code。
评分立意很好,可总觉得这书写得太晦涩了,另外书中本就残缺的源码竟然网上没有完整的免费下载!
评分立意很好,可总觉得这书写得太晦涩了,另外书中本就残缺的源码竟然网上没有完整的免费下载!
In 1994, Design Patterns changed the landscape of object-oriented development by introducing classic solutions to recurring design problems. In 1999, Refactoring revolutionized design by introducing an effective process for improving code. With the highly anticipated Refactoring to Patterns, Joshua Kerievsky has changed our approach to design by forever uniting patterns with the evolutionary process of refactoring. This book introduces the theory and practice of pattern-directed refactorings: sequences of low-level refactorings that allow designers to safely move designs to, towards, or away from pattern implementations. Using code from real-world projects, Kerievsky documents the thinking and steps underlying over two dozen pattern-based design transformations. Along the way he offers insights into pattern differences and how to implement patterns in the simplest possible ways. Coverage includes: * A catalog of twenty-seven pattern-directed refactorings, featuring real-world code examples * Descriptions of twelve design smells that indicate the need for this book's refactorings * General information and new insights about patterns and refactoring * Detailed implementation mechanics: how low-level refactorings are combined to implement high-level patterns * Multiple ways to implement the same pattern-and when to use each * Practical ways to get started even if you have little experience with patterns or refactoring Refactoring to Patterns reflects three years of refinement and the insights of more than sixty software engineering thought leaders in the global patterns, refactoring, and agile development communities. Whether you're focused on legacy or "greenfield" development, this book will make you a better software designer by helping you learn how to make important design changes safely and effectively.
不要在设计之初就采用复杂的设计模式,这一点我非常认同作者。使用设计模式是为了应对变化。在设计阶段难以预见系统变化。推荐采用简单的设计模式,例如工厂方法和组合方法。 这本书告知读者,复杂的设计模式(例如访问者)产生于不断重构。在重构过程中完善系统设计,应对未来...
评分这本书更多介绍了复合重构和测试驱动重构,如果对一般的重构手法和设计模式都不了解,读这本书会比较吃力。如果有过不少的项目经验,读这本书更合适。
评分这本书断断续续看过几次,感觉距离head first 那本有一定的距离,无法让我很投入,或者看后有所思考,可能是我经验不足。
评分这本书断断续续看过几次,感觉距离head first 那本有一定的距离,无法让我很投入,或者看后有所思考,可能是我经验不足。
评分之前还没看过模式那本书,所以不知道那些模式。 现在看完只是对重构有一部分的了解,因为里面的代码为Java,而我是用objective-c的,但代码都是通用的。只能在之后看完了重构和模式两本书以后再回头看,应该会有更深刻的了解。 现在对项目的重构有了一点的帮助,很好。
Refactoring to Patterns 在线电子书 pdf 下载 txt下载 epub 下载 mobi 下载 2024