没有合适的资源?快使用搜索试试~ 我知道了~
首页Code Reading, The Open Source Perspective
Code Reading, The Open Source Perspective
5星 · 超过95%的资源 需积分: 15 116 下载量 138 浏览量
更新于2023-03-16
评论 1
收藏 7.05MB PDF 举报
Code Reading, The Open Source Perspective - By 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页未读,继续阅读
Augusdi
- 粉丝: 1w+
- 资源: 5762
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- 27页智慧街道信息化建设综合解决方案.pptx
- 计算机二级Ms-Office选择题汇总.doc
- 单链表的插入和删除实验报告 (2).docx
- 单链表的插入和删除实验报告.pdf
- 物联网智能终端项目设备管理方案.pdf
- 如何打造品牌的模式.doc
- 样式控制与页面布局.pdf
- 武汉理工Java实验报告(二).docx
- 2021线上新品消费趋势报告.pdf
- 第3章 Matlab中的矩阵及其运算.docx
- 基于Web的人力资源管理系统的必要性和可行性.doc
- 基于一阶倒立摆的matlab仿真实验.doc
- 速运公司物流管理模式研究教材
- 大数据与管理.pptx
- 单片机课程设计之步进电机.doc
- 大数据与数据挖掘.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论4