1 / 280
文档名称:

Addison Wesley - Refactoring Improving the Design of Existing Code[safari].pdf

格式:pdf   页数:280
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

Addison Wesley - Refactoring Improving the Design of Existing Code[safari].pdf

上传人:kuo08091 2014/5/26 文件大小:0 KB

下载得到文件列表

Addison Wesley - Refactoring Improving the Design of Existing Code[safari].pdf

文档介绍

文档介绍:Table of Contents
Copyright................................................................................................................................ 1
Foreword................................................................................................................................ 3
Preface................................................................................................................................... 4
Chapter 1. Refactoring, a First Example.................................................................................. 9
The Starting Point........................................................................................................................................................................................................................... 9
The First Step in Refactoring......................................................................................................................................................................................................... 13
posing and Redistributing the Statement Method............................................................................................................................................................ 13
Replacing the Conditional Logic on Price Code with Polymorphism........................................................................................................................................... 27
Final Thoughts............................................................................................................................................................................................................................... 34
Chapter 2. Principles in Refactoring..................................................................................... 35
Defining Refactoring.....................................................................................................................................................