网上购物 货比三家
您现在的位置:快乐比价网 > 图书 > 计算机与网络 > 软件工程 > 商品详情

实现模式(英文影印版)

分享到:
实现模式(英文影印版)

最 低 价:¥23.20

定 价:¥29.00

作 者:(美)Kent Beck

出 版 社:人民邮电出版社

出版时间:2008 年11月

I S B N:9787115187093

价格
23.20元
价格
23.70元
价格
23.70元
价格
23.70元
价格
24.40元
价格
24.70元
价格
24.70元

商品详情

编辑推荐

汇聚编程的价值观、原则和模式.
  增强程序员编程的艺术性和易读性
  世界顶级大师沥血之作..
  经得起考验的传世经典...

内容简介

在本书中,作者将自己多年形成的编程习惯以及阅读既有代码的体验凝练成了编程中的价值观、原则和77种实现模式。
  沟通、简单和灵活的价值观应当被所有开发人员所铭记。局部影响、最小化重复、将逻辑与数据捆绑等原则同样是通用性的指导思想,比价值观更贴近编程场景,在价值观和模式之间搭建了桥梁。在77个实现模式中,每一个模式都覆盖了编写简洁、清晰、易扩展、易维护的代码这一原则的某个方面。它们为日常的编程提供了丰富翔实的参考依据,并告诉大家这些代码如何为降低沟通成本和提高有效产出提供保障。
  本书适用于各个阶段的开发者群体,刚刚涉足软件开发领域的新人能够透过大师的眼睛来看待编程,了解编程的价值观与原则;而具有丰富经验的资深工程师则可以通过这些模式进行反思,探究成功实践背后的意义。把价值观、原则和开发实践结合之后,日常开发工作便会以崭新迷人的形式呈现在我们面前。

作者简介

Kent Beck,软件业中最具创新力、最富盛名的领袖之一。长期以来,他一直致力于挑战软件工程教条,推动模式、测试驱动开发以及极限编程等思想的应用和传播。他是Three Rivers Institute的创始人和董事,也是Agitar Software的成员。他在Addison-Wesley出版了多本书籍,其中包括Test-Driven Development(中译版《测试驱动开发》),以及与Cynthia Andres合著的Extreme Programming Explained(中译版《解析极限编程》)。...
.. << 查看详细

目录

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

商品评论(0条)

暂无评论!

您的浏览历史

loading 内容加载中,请稍后...