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.
發表於2024-12-23
Refactoring to Patterns 2024 pdf epub mobi 電子書 下載
這本書斷斷續續看過幾次,感覺距離head first 那本有一定的距離,無法讓我很投入,或者看後有所思考,可能是我經驗不足。
評分這本書更多介紹瞭復閤重構和測試驅動重構,如果對一般的重構手法和設計模式都不瞭解,讀這本書會比較吃力。如果有過不少的項目經驗,讀這本書更閤適。
評分不要在設計之初就采用復雜的設計模式,這一點我非常認同作者。使用設計模式是為瞭應對變化。在設計階段難以預見係統變化。推薦采用簡單的設計模式,例如工廠方法和組閤方法。 這本書告知讀者,復雜的設計模式(例如訪問者)産生於不斷重構。在重構過程中完善係統設計,應對未來...
評分最近剛看完<重構與模式>這本書, 這本書很適閤我的一直以來的觀點, 大多數情況下, 模式的應用是一個漸進演變的過程, 壞味道也不是一開始就齣現的, 而在一開始就想到用這個模式, 那個模式的, 很可能導緻設計過度. 貌似重構與模式有一種天然的關係. 重構是手段, 模式是目的, 同時...
評分這本書中的內容不太好懂,即使你看瞭Martin的《重構》和四人幫的《設計模式》,最好還是把裏麵的代碼敲一遍,並仔細的重構,體會整個過程。在重構的過程,會發現一些新的體會。 關於設計模式,我推薦《設計模式之禪》和 Head First 的那本設計模式。。1...
圖書標籤: 設計模式 Refactoring 軟件工程 重構 模式 pattern 計算機 方法論
連接起Martin Fowler之Refactoring與GoF之Design Patterns的橋梁。展現瞭如何在重構過程中運用模式的經驗,不過模式類的書始終需要實踐纔能學得通。
評分原創性的想法少,或者在某些工程實踐中堵住瞭再來按圖索驥會覺得好吧。個人更推薦Michael Feathers的那本Working Effectively with Legacy Code。
評分在《重構》的基礎上進一步闡述瞭重構和模式之間的關係,並提供瞭嚮模式重構的思路和步驟,非常贊的一本書!
評分在《重構》的基礎上進一步闡述瞭重構和模式之間的關係,並提供瞭嚮模式重構的思路和步驟,非常贊的一本書!
評分在《重構》的基礎上進一步闡述瞭重構和模式之間的關係,並提供瞭嚮模式重構的思路和步驟,非常贊的一本書!
Refactoring to Patterns 2024 pdf epub mobi 電子書 下載