《程序员修炼之道》PDF下载

  • 购买积分:12 如何计算积分?
  • 作  者:(美)享特,(美)索马斯著
  • 出 版 社:北京:中国电力出版社
  • 出版年份:2003
  • ISBN:7508307984
  • 页数:321 页
图书介绍:本书直击编程阵地,穿过了日益增长的现代软件开发的规范和学术,该过程采取了供需结合的工作方式和令人欣喜的可维护代码。本书包含的内容从个人责任和职业发展到保持代码的灵活性,使之易于改编和重用。本书采用了很多好玩的轶事、详细的实例和有趣的对话,描述了软件开发各个方面的最好实践和主要缺陷。无论你是一个新入门的编码者、一个有经验的程序员,还是负责软件项目的经理,通过每日学习这些课程,都会在个人生产力、准确率和工作满意度上有快速的增长。你所学到的技巧和开发习惯和态度将为你在职业生涯中取得长期成功奠定基础。你将成为又一Pragmatic Programmer。

1 A PRAGMATIC PHILOSOPHY 1

1.The Cat Ate My Source Code 2

2.Software Entropy 4

3.Stone Soup and Boiled Frogs 7

4.Good-Enough Software 9

5.Your Knowledge Portfolio 12

6.Communicate! 18

2 A PRAGMATIC APPROACH 25

7.The Evils of Duplication 26

8.Orthogonality 34

9.Reversibility 44

10.Tracer Bullets 48

11.Prototypes and Post-it Notes 53

12.Domain Languages 57

13.Estimating 64

3 THE BASIC TOOLS 71

14.The Power of Plain Text 73

15.Shell Games 77

16.Power Editing 82

17.Source Code Control 86

18.Debugging 90

19.Text Manipulation 99

20.Code Generators 102

4 PRAGMATIC PARANOIA 107

21.Design by Contract 109

22.Dead Programs Tell No Lies 120

23.Assertive Programming 122

24.When to Use Exceptions 125

25.How to Balance Resources 129

5 BEND,OR BREAK 137

26.Decoupling and the Law of Demeter 138

27.Metaprogramming 144

28.Temporal Coupling 150

29.It s Just a View 157

30.Blackboards 165

6 WHILE YOU ARE CODING 171

31.Programming by Coincidence 172

32.Algorithm Speed 177

33.Refactoring 184

34.Code That s Easy to Test 189

35.Evil Wizards 198

7 BEFORE THE PROJECT 201

36.The Requirements Pit 202

37.Solving Impossible Puzzles 212

38.Not Until You re Ready 215

39.The Specification Trap 217

40.Circles and Arrows 220

8 PRAGMATIC PROJECTS 223

41.Pragmatic Teams 224

42.Ubiquitous Automation 230

43.Ruthless Testing 237

44.It s All Writing 248

45.Great Expectations 255

46.Pride and Prejudice 258

Appendices 261

A RESOURCES 261

Professional Societies 262

Building a Library 262

Internet Resources 266

Bibliography 275

B ANSWERS TO EXERCISES 279

INDEX 309