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.
这本书更多介绍了复合重构和测试驱动重构,如果对一般的重构手法和设计模式都不了解,读这本书会比较吃力。如果有过不少的项目经验,读这本书更合适。
评分又一经典被蛋疼的翻译给毁了,我越看越不淡定,实在忍不住在书上画满删除线,大爆shit,第六章开始讲正题就充斥大量没标点的长句,带语病,好不容易加个标点,还能标错。看到译者序里写:"在准备写这篇译者序的时候,我终觉得很难,因为译者序类似读后感,是要到出翻译时的特...
评分这本书中的内容不太好懂,即使你看了Martin的《重构》和四人帮的《设计模式》,最好还是把里面的代码敲一遍,并仔细的重构,体会整个过程。在重构的过程,会发现一些新的体会。 关于设计模式,我推荐《设计模式之禅》和 Head First 的那本设计模式。。1...
评分重构与模式还有极限编程,我根本不会指望从书本中入门。 一个项目,几个项目之间总结出的经验,然后回过头来看看这些书,也许会有些共鸣,或者修补一些经验的遗漏,至于入门,领会了皮毛只会造成滥用,最近在看ajax设计模式,尤其有这种感觉,一种理论,从形成到滥用的...
评分最近刚看完<重构与模式>这本书, 这本书很适合我的一直以来的观点, 大多数情况下, 模式的应用是一个渐进演变的过程, 坏味道也不是一开始就出现的, 而在一开始就想到用这个模式, 那个模式的, 很可能导致设计过度. 貌似重构与模式有一种天然的关系. 重构是手段, 模式是目的, 同时...
连接起Martin Fowler之Refactoring与GoF之Design Patterns的桥梁。展现了如何在重构过程中运用模式的经验,不过模式类的书始终需要实践才能学得通。
评分原创性的想法少,或者在某些工程实践中堵住了再来按图索骥会觉得好吧。个人更推荐Michael Feathers的那本Working Effectively with Legacy Code。
评分连接起Martin Fowler之Refactoring与GoF之Design Patterns的桥梁。展现了如何在重构过程中运用模式的经验,不过模式类的书始终需要实践才能学得通。
评分原创性的想法少,或者在某些工程实践中堵住了再来按图索骥会觉得好吧。个人更推荐Michael Feathers的那本Working Effectively with Legacy Code。
评分连接起Martin Fowler之Refactoring与GoF之Design Patterns的桥梁。展现了如何在重构过程中运用模式的经验,不过模式类的书始终需要实践才能学得通。
本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度,google,bing,sogou 等
© 2025 book.quotespace.org All Rights Reserved. 小美书屋 版权所有