注冊 | 登錄讀書好,好讀書,讀好書!
讀書網(wǎng)-DuShu.com
當前位置: 首頁出版圖書科學技術計算機/網(wǎng)絡軟件與程序設計其他編程語言/工具實現(xiàn)模式(英文版)

實現(xiàn)模式(英文版)

實現(xiàn)模式(英文版)

定 價:¥29.00

作 者: (美)Kent Beck 著
出版社: 人民郵電出版社
叢編項:
標 簽: 程序設計

ISBN: 9787115187093 出版時間: 2008-11-01 包裝: 平裝
開本: 16開 頁數(shù): 157 字數(shù):  

內容簡介

  《實現(xiàn)模式》(英文版)中,Kent Beck將自己多年形成的編程習慣以及閱讀既有代碼的體驗凝練成了編程中的價值觀、原則和77種實現(xiàn)模式。溝通、簡單和靈活的價值觀應當被所有開發(fā)人員所銘記,無時或忘。局部影響、最小化重復、將邏輯與數(shù)據(jù)捆綁等原則同樣是通用性的指導思想,比價值觀更貼近編程場景,在價值觀和模式之間搭建了橋梁。在77個實現(xiàn)模式中,每一個模式都覆蓋了編寫簡潔、清晰、易擴展、易維護的代碼這一原則的某個方面。它們?yōu)槿粘5木幊烫峁┝素S富翔實的參考依據(jù),并告訴大家這些代碼如何為降低溝通成本和提高有效產(chǎn)出提供保障。..《實現(xiàn)模式》(英文版)適用于各個階段的開發(fā)者群體,剛剛涉足軟件開發(fā)領域的新人能夠透過大師的眼睛來看待編程,了解編程的價值觀與原則;而具有豐富經(jīng)驗的資深工程師則可以通過這些模式進行反思,探究成功實踐背后的意義。把價值觀、原則和開發(fā)實踐結合之后,日常開發(fā)工作便會以嶄新迷人的形式呈現(xiàn)在我們面前。

作者簡介

暫缺《實現(xiàn)模式(英文版)》作者簡介

圖書目錄

Chapter 1: Introduction 1
 Tour Guide 3
 And Now 4
Chapter 2: Patterns 5
Chapter 3: A Theory of Programming 9
 Values 10
  Communication 10
  Simplicity 11
  Flexibility 12
 Principles 13
  Local Consequences 13
  Minimize Repetition 14
  Logic and Data Together 14
  Symmetry 15
  Declarative Expression 16
  Rate of Change 17
 Conclusion 18
Chapter 4: Motivation 19
Chapter 5: Class 21
 Class 22
 Simple Superclass Name 23
 Qualified Subclass Name 24
 Abstract Interface 24
 Interface 26
 Abstract Class 26
 Versioned Interface 27
 Value Object 28
 Specialization 31
 Subclass 32
 Implementor 34
 Inner Class 34
 Instance-Specific Behavior 36
 Conditional 36
 Delegation 38
 Pluggable Selector 40
 Anonymous Inner Class 41
 Library Class 41
 Conclusion 42
Chapter 6: State 43
 State 44
 Access 45
 Direct Access 46
 Indirect Access 47
 Common State 47
 Variable State 48
 Extrinsic State 50
 Variable 50
 Local Variable 51
 Field 52
 Parameter 53
 Collecting Parameter 55
 Optional Parameter 56
 Var Args 56
 Parameter Object 57
 Constant 58
 Role-Suggesting Name 58
 Declared Type 60
 Initialization 61
 Eager Initialization 61
 Lazy Initialization 62
 Conclusion 62
Chapter 7: Behavior 63
 Control Flow 64
 Main Flow 64
 Message 65
 Choosing Message 65
 Double Dispatch 66
 Decomposing (Sequencing) Message 67
 Reversing Message 67
 Inviting Message 68
 Explaining Message 69
 Exceptional Flow 70
 Guard Clause 70
 Exception 72
 Checked Exceptions 72
 Exception Propagation 73
 Conclusion 73
Chapter 8: Methods 75
 Composed Method 77
 Intention-Revealing Name 79
 Method Visibility 80
 Method Object 82
 Overridden Method 83
 Overloaded Method 83
 Method Return Type 84
 Method Comment 85
 Helper Method 85
 Debug Print Method 86
 Conversion 87
 Conversion Method 87
 Conversion Constructor 88
 Creation 88
 Complete Constructor 89
 Factory Method 90
 Internal Factory 91
 Collection Accessor Method 91
 Boolean Setting Method 93
 Query Method 93
 Equality Method 94
 Getting Method 95
 Setting Method 96
 Safe Copy 97
 Conclusion 98
Chapter 9: Collections 99
 Metaphors 100
 Issues 101
 Interfaces 103
  Array 103
  Iterable 104
  Collection 104
  List 104
  Set 105
  SortedSet 105
  Map 106
 Implementations 107
  Collection 108
  List 108
  Set 108
  Map 109
 Collections 110
  Searching 111
  Sorting 112
  Unmodifiable Collections 113
  Single-Element Collections 114
  Empty Collections 114
 Extending Collections 114
 Conclusion 115
Chapter 10: Evolving Frameworks 117
 Changing Frameworks without Changing Applications117
 Incompatible Upgrades 118
 Encouraging Compatible Change 120
  Library Class 121
  Objects 121
 Conclusion 129
Appendix A: Performance Measurement 131
 Example 131
 API 132
 Implementation 133
 MethodTimer 134
 Canceling Overhead 136
 Tests 136
  Comparing Collections 137
  Comparing ArrayList and LinkedList 139
  Comparing Sets 140
  Comparing Maps 141
 Conclusion 142
Bibliography 145
 General Programming 145
 Philosophy 147
 Java 148
Index 149

本目錄推薦

掃描二維碼
Copyright ? 讀書網(wǎng) ranfinancial.com 2005-2020, All Rights Reserved.
鄂ICP備15019699號 鄂公網(wǎng)安備 42010302001612號