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-09-27
Refactoring to Patterns 2024 pdf epub mobi 電子書 下載
不要在設計之初就采用復雜的設計模式,這一點我非常認同作者。使用設計模式是為瞭應對變化。在設計階段難以預見係統變化。推薦采用簡單的設計模式,例如工廠方法和組閤方法。 這本書告知讀者,復雜的設計模式(例如訪問者)産生於不斷重構。在重構過程中完善係統設計,應對未來...
評分最近剛看完<重構與模式>這本書, 這本書很適閤我的一直以來的觀點, 大多數情況下, 模式的應用是一個漸進演變的過程, 壞味道也不是一開始就齣現的, 而在一開始就想到用這個模式, 那個模式的, 很可能導緻設計過度. 貌似重構與模式有一種天然的關係. 重構是手段, 模式是目的, 同時...
評分又一經典被蛋疼的翻譯給毀瞭,我越看越不淡定,實在忍不住在書上畫滿刪除綫,大爆shit,第六章開始講正題就充斥大量沒標點的長句,帶語病,好不容易加個標點,還能標錯。看到譯者序裏寫:"在準備寫這篇譯者序的時候,我終覺得很難,因為譯者序類似讀後感,是要到齣翻譯時的特...
評分之前還沒看過模式那本書,所以不知道那些模式。 現在看完隻是對重構有一部分的瞭解,因為裏麵的代碼為Java,而我是用objective-c的,但代碼都是通用的。隻能在之後看完瞭重構和模式兩本書以後再迴頭看,應該會有更深刻的瞭解。 現在對項目的重構有瞭一點的幫助,很好。
評分又一經典被蛋疼的翻譯給毀瞭,我越看越不淡定,實在忍不住在書上畫滿刪除綫,大爆shit,第六章開始講正題就充斥大量沒標點的長句,帶語病,好不容易加個標點,還能標錯。看到譯者序裏寫:"在準備寫這篇譯者序的時候,我終覺得很難,因為譯者序類似讀後感,是要到齣翻譯時的特...
圖書標籤: 設計模式 Refactoring 軟件工程 重構 模式 pattern 計算機 方法論
在《重構》的基礎上進一步闡述瞭重構和模式之間的關係,並提供瞭嚮模式重構的思路和步驟,非常贊的一本書!
評分連接起Martin Fowler之Refactoring與GoF之Design Patterns的橋梁。展現瞭如何在重構過程中運用模式的經驗,不過模式類的書始終需要實踐纔能學得通。
評分立意很好,可總覺得這書寫得太晦澀瞭,另外書中本就殘缺的源碼竟然網上沒有完整的免費下載!
評分在《重構》的基礎上進一步闡述瞭重構和模式之間的關係,並提供瞭嚮模式重構的思路和步驟,非常贊的一本書!
評分連接起Martin Fowler之Refactoring與GoF之Design Patterns的橋梁。展現瞭如何在重構過程中運用模式的經驗,不過模式類的書始終需要實踐纔能學得通。
Refactoring to Patterns 2024 pdf epub mobi 電子書 下載