Refactoring: Improving the Design of Existing Code (Hardcover)
Martin Fowler, Kent Beck, John Brant, William Opdyke, Don Roberts
- 出版商: Addison Wesley
- 出版日期: 1999-07-08
- 定價: $2,290
- 售價: 9.5 折 $2,176
- 語言: 英文
- 頁數: 464
- 裝訂: Hardcover
- ISBN: 0201485672
- ISBN-13: 9780201485677
-
相關分類:
Refactoring
-
相關翻譯:
重構:改善既有代碼的設計 (簡中平裝版) (Refactoring: Improving The Design of Existing Code) (簡中版)
銷售排行:
🥉 2019/12 英文書 銷售排行 第 3 名
立即出貨(限量) (庫存=2)
買這商品的人也買了...
-
$580$435 -
$2,166Design Patterns: Elements of Reusable Object-Oriented Software (Hardcover)
-
$680$510 -
$980$735 -
$990$970 -
$920$690 -
$880$660 -
$560$504 -
$1,890$1,796 -
$620$558 -
$780$741 -
$750$638 -
$650$514 -
$760$570 -
$590$466 -
$680$510 -
$690$518 -
$720$540 -
$750$675 -
$560$504 -
$2,330$2,214 -
$2,000$1,900 -
$480$379 -
$1,986Code Complete: A Practical Handbook of Software Construction, 2/e (Paperback)
-
$1,881Clean Code: A Handbook of Agile Software Craftsmanship (Paperback)
相關主題
商品描述
Book Description Book Description
As the application of object technology-particularly the Java programming language-has become commonplace, a new problem has emerged to confront the software development community. Significant numbers of poorly designed programs have been created by less-experienced developers, resulting in applications that are inefficient and hard to maintain and extend. Increasingly, software system professionals are discovering just how difficult it is to work with these inherited, "non-optimal" applications. For several years, expert-level object programmers have employed a growing collection of techniques to improve the structural integrity and performance of such existing software programs. Referred to as "refactoring," these practices have remained in the domain of experts because no attempt has been made to transcribe the lore into a form that all developers could use. . .until now. In Refactoring: Improving the Design of Existing Software, renowned object technology mentor Martin Fowler breaks new ground, demystifying these master practices and demonstrating how software practitioners can realize the significant benefits of this new process.With proper training a skilled system designer can take a bad design and rework it into well-designed, robust code. In this book, Martin Fowler shows you where opportunities for refactoring typically can be found, and how to go about reworking a bad design into a good one. Each refactoring step is simple-seemingly too simple to be worth doing. Refactoring may involve moving a field from one class to another, or pulling some code out of a method to turn it into its own method, or even pushing some code up or down a hierarchy. While these individual steps may seem elementary, the cumulative effect of such small changes can radically improve the design. Refactoring is a proven way to prevent software decay.
In addition to discussing the various techniques of refactoring, the author provides a detailed catalog of more than seventy proven refactorings with helpful pointers that teach you when to apply them; step-by-step instructions for applying each refactoring; and an example illustrating how the refactoring works. The illustrative examples are written in Java, but the ideas are applicable to any object-oriented programming language.
Book Info
Demonstrates where opportunities for refactoring typically lie, and how to go about reworking a bad design into a good one using elementary steps. DLC: Software refactoring.
From the Inside Flap
Here's how to get the
From the Back Cover
As the application of object technology--particularly the Java programming language--has become commonplace, a new problem has emerged to confront the software development community. Significant numbers of poorly designed programs have been created by less-experienced developers, resulting in applications that are inefficient and hard to maintain and extend. Increasingly, software system professionals are discovering just how difficult it is to work with these inherited, "non-optimal" applications. For several years, expert-level object programmers have employed a growing collection of techniques to improve the structural integrity and performance of such existing software programs. Referred to as "refactoring," these practices have remained in the domain of experts because no attempt has been made to transcribe the lore into a form that all developers could use. . .until now. In Refactoring: Improving the Design of Existing Code, renowned object technology mentor Martin Fowler breaks new ground, demystifying these master practices and demonstrating how software practitioners can realize the significant benefits of this new process.0201485672B04062001
About the AuthorKent Beck is a noted programmer, tester, refactorer, author, and banjoist.
Table of Contents N/A
商品描述(中文翻譯)
書籍描述
隨著物件技術,尤其是Java程式語言的應用變得普遍,軟體開發社群面臨了一個新的問題。許多經驗不足的開發人員創建了設計不良的程式,導致應用程式效率低下、難以維護和擴展。越來越多的軟體系統專業人員發現,與這些繼承而來的「非最佳」應用程式一起工作有多麼困難。多年來,高級物件程式設計師一直在使用一系列技術來改善這些現有軟體程式的結構完整性和性能。這些實踐被稱為「重構」,但由於沒有將這些技術轉化為所有開發人員都能使用的形式,因此一直只存在於專家領域...直到現在。在《重構:改善現有軟體設計》一書中,著名的物件技術導師Martin Fowler開創了新局面,揭示了這些專業實踐的神秘面紗,並展示了軟體從業人員如何實現這個新過程的重大好處。
通過適當的培訓,熟練的系統設計師可以將糟糕的設計重新改造成設計良好、堅固的程式碼。在這本書中,Martin Fowler向您展示了重構的機會通常在哪裡,以及如何將糟糕的設計重新改造成好的設計。每個重構步驟都很簡單,看起來似乎太簡單而不值得做。重構可能涉及將一個欄位從一個類移動到另一個類,或者將一些程式碼從一個方法中提取出來,變成自己的方法,甚至將一些程式碼上移或下移到層次結構中。雖然這些個別步驟可能看似基本,但這些小改變的累積效果可以徹底改善設計。重構是防止軟體衰變的有效方法。
除了討論重構的各種技術外,作者還提供了一個詳細的目錄,列舉了70多種經過驗證的重構方法,並提供了有用的指引,教您何時應用這些方法;逐步指導如何進行每個重構;以及一個示例,說明重構的工作原理。這些示例是用Java編寫的,但這些想法適用於任何面向物件的程式語言。
書籍資訊
展示了重構的機會通常在哪裡,以及如何通過基本步驟將糟糕的設計重新改造成好的設計。DLC: 軟體重構。
從內部封面
從前,一位顧問參觀了一個開發項目。顧問查看了一些已經編寫的程式碼;系統的核心是一個類層次結構。當顧問在層次結構中遊覽時,他發現它相當混亂。高層級類對類的工作方式有一些假設,這些假設體現在繼承的程式碼中。然而,這些程式碼並不適用於所有子類,因此被大量覆寫。如果超類稍微修改一下,就不需要這麼多覆寫了。在其他地方,一些超類的意圖沒有被正確理解,超類中存在的行為被重複。