Code Reading: The Open Source Perspective
Product Author Bios
Diomidis Spinellis has been developing the concepts presented in this book since 1985, while also writing groundbreaking software applications and working on multimillion-line code bases. Spinellis holds an M.Eng. degree in software engineering and a Ph.D. in computer science from Imperial College London. Currently he is an associate professor in the Department of Management Science and Technology at the Athens University of Economics and Business.
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.
Download the complete source code base (134 MB) for the book: Code Reading: The Open Source Perspective.
Table of Contents
2. Basic Programming Elements.
3. Advanced C Data Types.
4. C Data Structures.
5. Advanced Control Flow.
6. Tackling Large Projects.
7. Coding Standards and Conventions.
10. Code-Reading Tools.
11. A Complete Example.
Appendix A. Outline of the Code Provided.
Appendix B. Source Code Credits.
Appendix C. Referenced Source Files.
Appendix D. Source Code Licenses.
Appendix E. Maxims for Reading Code.
Author Index. 0201799405T01162003
Includes EPUB, MOBI, and PDF
About eBook Formats
This eBook includes the following formats, accessible from your Account page after purchase:
EPUBThe open industry format known for its reflowable content and usability on supported mobile devices.
MOBIThe eBook format compatible with the Amazon Kindle and Amazon Kindle applications.
PDFThe popular standard, used most often with the free Adobe® Reader® software.
This eBook requires no passwords or activation to read. We customize your eBook by discretely watermarking it with your name, making it uniquely yours.
Also available in other formats.
Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.