没有合适的资源?快使用搜索试试~ 我知道了~
Code Reading 代码阅读
需积分: 10 12 下载量 131 浏览量
2016-03-23
13:32:53
上传
评论
收藏 7.08MB PDF 举报
温馨提示
试读
505页
Diomidis Spinellis教授的写的畅销书《代码阅读》的英文版
资源推荐
资源详情
资源评论
[ Team LiB ]
• Table of Contents
Code Reading: The Open Source Perspective
By Diomidis Spinelli s
Publisher : Addison Wesley
Pub Date : May 30, 2003
ISBN : 0-201-79940-5
Pages : 528
If you are a programmer, you need this book.
You've got a day to add a new feature in a 34,000-line program: Where do you start? Page 333
How can you understand and simplify an inscrutable piece of code? Page 39
Where do you start when disentangling a complicated build process? Page 167
How do you comprehend code that appears to be doing five things in parallel? Page 132
You may read code because you have to-to fix it, inspect it, or improve it. You may read code the way an engineer examines a
machine--to discover what makes it tick. Or you may read code because you are scavenging--looking for material to reuse.
Code-reading requires its own set of skills, and the ability to determine which technique you use when is crucial. In this indispensable
book, Diomidis Spinellis uses more than 600 real-world examples to show you how to identify good (and bad) code: how to read it, what
to look for, and how to use this knowledge to improve your own code.
Fact: If you make a habit of reading good code, you will write better code yourself.
[ Team LiB ]
[ Team LiB ]
• Table of Contents
Code Reading: The Open Source Perspective
By Diomidis Spinelli s
Publisher : Addison Wesley
Pub Date : May 30, 2003
ISBN : 0-201-79940-5
Pages : 528
Copyright
Effective Software Development Series
Figures
Tables
Foreword
Preface
Supplementary Material
Acknowledgments
Chapter 1. Introductio n
Section 1.1. Why and How to Read Cod e
Section 1.2. How to Read This Boo k
Further Reading
Chapter 2. Basic Programming Element s
Section 2.1. A Complete Progra m
Section 2.2. Functions and Global Variable s
Section 2.3. while Loops, Conditions, and Blocks
Section 2.4. switch Statements
Section 2.5. for Loops
Section 2.6. break and continue Statements
Section 2.7. Character and Boolean Expression s
Section 2.8. goto Statements
Section 2.9. Refactoring in the Smal l
Section 2.10. do Loops and Integer Expressions
Section 2.11. Control Structures Revisite d
Further Reading
Chapter 3. Advanced C Data Type s
Section 3.1. Pointer s
Section 3.2. Structure s
Section 3.3. Union s
Section 3.4. Dynamic Memory Allocatio n
Section 3.5. typedef Declarations
Further Reading
Chapter 4. C Data Structure s
Section 4.1. Vector s
Section 4.2. Matrices and Table s
Section 4.3. Stack s
Section 4.4. Queue s
Section 4.5. Map s
Section 4.6. Set s
Section 4.7. Linked List s
Section 4.8. Tree s
Section 4.9. Graph s
Further Reading
Chapter 5. Advanced Control Flo w
Section 5.1. Recursio n
Section 5.2. Exception s
Section 5.3. Parallelis m
Section 5.4. Signal s
Section 5.5. Nonlocal Jump s
Section 5.6. Macro Substitutio n
Further Reading
Chapter 6. Tackling Large Project s
Section 6.1. Design and Implementation Technique s
Section 6.2. Project Organizatio n
Section 6.3. The Build Process and Makefile s
Section 6.4. Configuratio n
Section 6.5. Revision Contro l
Section 6.6. Project-Specific Tool s
Section 6.7. Testin g
Further Reading
Chapter 7. Coding Standards and Convention s
Section 7.1. File Names and Organizatio n
Section 7.2. Indentatio n
Section 7.3. Formattin g
Section 7.4. Naming Convention s
Section 7.5. Programming Practice s
Section 7.6. Process Standard s
Further Reading
Chapter 8. Documentatio n
Section 8.1. Documentation Type s
Section 8.2. Reading Documentatio n
Section 8.3. Documentation Problem s
Section 8.4. Additional Documentation Source s
Section 8.5. Common Open-Source Documentation Format s
Further Reading
Chapter 9. Architectur e
Section 9.1. System Structure s
Section 9.2. Control Model s
Section 9.3. Element Packagin g
Section 9.4. Architecture Reus e
Further Reading
Chapter 10. Code-Reading Tool s
Section 10.1. Regular Expression s
Section 10.2. The Editor as a Code Browse r
Section 10.3. Code Searching with grep
Section 10.4. Locating File Difference s
Section 10.5. Roll Your Own Too l
Section 10.6. The Compiler as a Code-Reading Too l
Section 10.7. Code Browsers and Beautifier s
Section 10.8. Runtime Tool s
Section 10.9. Nonsoftware Tool s
Chapter 11. A Complete Exampl e
Section 11.1. Overvie w
Section 11.2. Attack Pla n
Section 11.3. Code Reus e
Section 11.4. Testing and Debuggin g
Section 11.5. Documentatio n
Section 11.6. Observation s
Appendix A. Outline of the Code Provide d
Appendix B. Source Code Credit s
Appendix C. Referenced Source File s
Appendix D. Source Code License s
Section D.1. AC E
Section D.2. Apach e
Section D.3. Arg o UML
Section D.4. DemoG L
Section D.5. hsqld b
Section D.6. Ne t BSD
Section D.7. OpenC L
Section D.8. Per l
Section D.9. qtcha t
Section D.10. socke t
Section D.11. vc f
Section D.12. X Window Syste m
Appendix E. Maxims for Reading Cod e
Chapter 1: Introduction
Chapter 2: Basic Programming Elements
Chapter 3: Advanced C Data Types
Chapter 4: C Data Structures
Chapter 5: Advanced Control Flow
Chapter 6: Tackling Large Projects
Chapter 7: Coding Standards and Conventions
Chapter 8: Documentation
Chapter 9: Architecture
Chapter 10: Code-Reading Tools
Chapter 11: A Complete Example
剩余504页未读,继续阅读
资源评论
小小番茄酸
- 粉丝: 7
- 资源: 10
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 设计1.ms14
- vscode-1.64.1.tar源码文件
- vscode-1.64.0.tar源码文件
- vscode-1.52.0.tar源码文件
- Music-Player +PlayerActivity+ rockplayer+ SeeJoPlayer 播放器JAVA源码
- vscode-1.46.0.tar源码文件
- 最近很火植物大战僵尸杂交版2.08苹果+安卓+PC+防闪退工具V2+修改工具+高清工具+通关存档整合包更新
- 超级好用的截图工具PixPin,可录制Gif图
- Screenshot_2024-05-21-17-06-42-64_2332cb9b27b851b548ba47a91682926c.jpg
- 毕业设计参考 - 基于树莓派、OpenCV及Python的人脸识别
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功