Refactoring with Microsoft Visual Studio 2010
Peter Ritchie
- 出版商: Packt Publishing
- 出版日期: 2010-07-24
- 售價: $2,440
- 貴賓價: 9.5 折 $2,318
- 語言: 英文
- 頁數: 372
- 裝訂: Paperback
- ISBN: 1849680108
- ISBN-13: 9781849680103
-
相關分類:
Visual Studio、Refactoring
海外代購書籍(需單獨結帳)
相關主題
商品描述
This book is a superb practical guide for any developer considering refactoring their code with Visual Studio. Its accessible approach covers all aspects of updating your C# code base to make it maintainable and adaptable. Overview Make your code base maintainable with refactoring Support new features more easily by making your system adaptable Enhance your system with an improved object-oriented design and increased encapsulation and componentization Concepts are presented in a comfortable one-on-one, pair-programming style A practical approach that's packed with examples to enrich understanding What you will learn from this book Improve code readability by applying effective concepts and techniques Spot discrepancies in code with code smells Catch and eliminate dead code and learn several such smart methods Make changes to your code without introducing adverse side-effects with code maintainability Learn smart ways to improve code navigability Improve your design by applying design principles and methodologies Enhance the maintainability of your code base by refactoring it to be more cohesive and less coupled Obtain an optimal level of flexibility by refactoring your code to a loosely-coupled design Minimize the side effects and support changes to your code by refactoring to a layered architecture Support your evolving code base by refactoring architectural behavior Back up the refactoring effort by ensuring quality with Unit Testing Approach This book focuses on real-world, easy-to-understand examples of code in a one-on-one style. Refactoring examples are performed and reasons why this refactoring should be applied are detailed. The book is structured from less advanced topics to more advanced topics; but is designed so that reading from beginning to end is not necessary. Who this book is written for This book is primarily for developers who want to refactor their code in Visual Studio. However, the book can be
商品描述(中文翻譯)
這本書是一本出色的實用指南,適合任何考慮使用Visual Studio重構代碼的開發人員。它的易於理解的方法涵蓋了更新C#代碼庫以使其易於維護和適應的所有方面。
概述:
- 通過重構使代碼庫易於維護
- 通過使系統適應性更強,更容易支持新功能
- 通過改進面向對象設計、增加封裝和組件化來增強系統
- 以舒適的一對一、配對編程風格呈現概念
- 實用方法,充滿了豐富的例子以加深理解
你將從本書中學到:
- 通過應用有效的概念和技巧來提高代碼可讀性
- 通過代碼異味來發現代碼中的差異
- 捕捉並消除死代碼,並學習一些智能方法
- 在不引入負面影響的情況下對代碼進行更改,以保持代碼可維護性
- 學習改進代碼導航的聰明方法
- 通過應用設計原則和方法來改進設計
- 通過重構使代碼庫更具內聚性和鬆耦合性,提高可維護性
- 通過重構到鬆耦合設計來獲得最佳靈活性
- 通過重構到分層架構來減少副作用並支持代碼更改
- 通過單元測試來確保重構工作的質量
方法:
本書以一對一的方式,通過真實世界易於理解的代碼示例來重點介紹重構。對於每個重構示例,都會進行實際操作並詳細解釋應該應用該重構的原因。本書的結構從較簡單的主題到較複雜的主題,但不需要從頭到尾閱讀。
本書的讀者:
本書主要針對希望在Visual Studio中重構代碼的開發人員。然而,本書也適用於任何希望提高代碼質量和可維護性的開發人員。