Andrew Hunt、David Thomas所著的《程序员修炼之道――从小工到专家(评注版)》所涉及的内容很广,涵盖了程序员成长过程中和软件开发过程中要注意的地方。从程序员的个体哲学到编码过程中的各个环节,再到团队的项目管理:从程序员要如何扩充知识,如何思考问题,如何利用有效的工具打造个人的工作环境,到项目启动之前如何建立一些基本准则,如何分析、设计、编写、测试、重构,如何实现自动化,甚至是项目团队中提高实效的原则。无论你是初学者,是有经验的程序员,还是软件项目经理,本书都适合你阅读。
务实的哲学 1 CHAPTER1 A PRAGMATIC PHILOSOPHY(新增评注21条) 5 1.The Cat Ate My Source Code 6 2.Software Entropy 8 3.Stone Soup and Boiled Frogs 11 4.Good-Enough Software 14 5.Your Knowledge Portfolio 16 6.Communicate! 23
务实的方法 29 CHAPTER 2 A PRAGMATIC APPROACH(新增评注34条) 35 7.The Evils of Duplication 36 8.Orthogonality 44 9.Reversibility 54 10.Tracer Bullets 58 11.Prototypes and Post-it Notes 64 12.Domain Languages 68 13.Estimating 75
基本工具 83 CHAPTER 3 THE BASIC TOOLS(新增评注18条) 87 14.The Power of Plain Text 89 15.Shell Games 93 16.Power Editing 98 17.Source Code Control 103 18.Debugging 106 19.Text Manipulation 115 20.Code Generators 119
务实的执著 125 CHAPTER 4 PRAGMATIC PARANOIA(新增评注20条) 129 21.Design by Contract 130 22.Dead Programs Tell No Lies 142 23.Assertive Programming 144 24.When to Use Exceptions 148 25.How to Balance Resources 151
解耦合是王道 161 CHAPTER 5 BEND, OR BREAK(新增评注13条) 165 26.Decoupling and the Law of Demeter 166 27.Metaprogramming 172 28.Temporal Coupling 178 29.It’s Just a View 185 30.Blackboards 193
编码时刻 199 CHAPTER 6 WHILE YOU ARE CODING(新增评注16条) 203 31.Programming by Coincidence 204 32.Algorithm Speed 209 33.Refactoring 216 34.Code That’s Easy to Test 221 35.Evil Wizards 230
需求与问题 233 CHAPTER 7 BEFORE THE PROJECT(新增评注22条) 237 36.The Requirements Pit 238 37.Solving Impossible Puzzles 249 38.Not Until You’re Ready 252 39.The Specification Trap 254 40.Circles and Arrows 257
团队 261 CHAPTER 8 PRAGMATIC PROJECTS(新增评注13条) 265 41.PragmaticTeams 266 42.Ubiquitous Automation 272 43.Ruthless Testing 279 44.It’s All Writing 290 45.Great Expectations 298 46.Pride and Prejudice 300 APPENDIX A RESOURCES 303 Professional Soci¬¬eties 304 Building a Library 304 Internet Resources 308 Bibliography 316 APPENDIX B ANSWERS TO EXERCISES 321 INDEX 351