Refactoring with Microsoft Visual Studio 2010
暫譯: 使用 Microsoft Visual Studio 2010 進行重構

Peter Ritchie

  • 出版商: Packt Publishing
  • 出版日期: 2010-07-24
  • 售價: $2,490
  • 貴賓價: 9.5$2,366
  • 語言: 英文
  • 頁數: 372
  • 裝訂: Paperback
  • ISBN: 1849680108
  • ISBN-13: 9781849680103
  • 相關分類: Visual StudioRefactoring
  • 海外代購書籍(需單獨結帳)

商品描述

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 中重構程式碼的開發者而寫。然而,這本書也可以適用於其他相關的讀者。