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.
不要在设计之初就采用复杂的设计模式,这一点我非常认同作者。使用设计模式是为了应对变化。在设计阶段难以预见系统变化。推荐采用简单的设计模式,例如工厂方法和组合方法。 这本书告知读者,复杂的设计模式(例如访问者)产生于不断重构。在重构过程中完善系统设计,应对未来...
評分重构与模式还有极限编程,我根本不会指望从书本中入门。 一个项目,几个项目之间总结出的经验,然后回过头来看看这些书,也许会有些共鸣,或者修补一些经验的遗漏,至于入门,领会了皮毛只会造成滥用,最近在看ajax设计模式,尤其有这种感觉,一种理论,从形成到滥用的...
評分借鉴《设计模式》与《重构既有代码》,对其中一些见解提出自己的看法,同时对《重构》中的大部分例子进行了详细的说明,是一本通过实际例子提升重构能力的好书 心得:加深了对《设计模式》的理解:一个特定的环境(上下文),一系列类似的问题,还有一个解决办法的结构方式。 重...
評分又一经典被蛋疼的翻译给毁了,我越看越不淡定,实在忍不住在书上画满删除线,大爆shit,第六章开始讲正题就充斥大量没标点的长句,带语病,好不容易加个标点,还能标错。看到译者序里写:"在准备写这篇译者序的时候,我终觉得很难,因为译者序类似读后感,是要到出翻译时的特...
評分不要在设计之初就采用复杂的设计模式,这一点我非常认同作者。使用设计模式是为了应对变化。在设计阶段难以预见系统变化。推荐采用简单的设计模式,例如工厂方法和组合方法。 这本书告知读者,复杂的设计模式(例如访问者)产生于不断重构。在重构过程中完善系统设计,应对未来...
連接起Martin Fowler之Refactoring與GoF之Design Patterns的橋梁。展現瞭如何在重構過程中運用模式的經驗,不過模式類的書始終需要實踐纔能學得通。
评分重構一書裏已有通過重構引入模式的內容,不覺得這本書有必要。
评分重構一書裏已有通過重構引入模式的內容,不覺得這本書有必要。
评分原創性的想法少,或者在某些工程實踐中堵住瞭再來按圖索驥會覺得好吧。個人更推薦Michael Feathers的那本Working Effectively with Legacy Code。
评分立意很好,可總覺得這書寫得太晦澀瞭,另外書中本就殘缺的源碼竟然網上沒有完整的免費下載!
本站所有內容均為互聯網搜索引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度,google,bing,sogou 等
© 2025 book.quotespace.org All Rights Reserved. 小美書屋 版权所有