Code Reading: The Open Source PerspectiveDiomidis Spinellis. Code Reading: The Open Source Perspective. Addison Wesley, 2003. ISBN 0-201-79940-5. |
#159. Documentation often mirrors and therefore reveals the underlying system structure. (Chapter 8: Documentation, p. 245)
If you are a programmer, you need this book.
Page 379: You've got a day to add a new feature to a 34,000-line program: Where do you start?
Page 156: How do you comprehend code that appears to be doing five things in parallel?
Page 45: How can you understand and simplify an inscrutable piece of code?
Page 196: How do you disentangle a complicated build process?
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 to 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.
Diomidis Spinellis has been developing the techniques presented in this book since 1985 while writing and maintaining more than 250,000 lines of code for a number of innovative and award-winning commercial and open-source projects. He received his M.Eng. in software engineering and his Ph.D. in computer science from the University of London's Imperial College. Currently he is an associate professor in the Department of Management Science and Technology at the Athens University of Economics and Business.
53,000 files, 16 million lines, 400Mb of complete open source projects including the Apache Web server, the hsqldb Java relational database engine, the NetBSD Unix distribution, the Perl language, the Tomcat application server, and the X Window System. And the complete code context for the 600 references found in the book.
If you've enjoyed Code Reading you will also appreciate its companion book, Code Quality. The book also uses examples from open source software projects to illustrate the code quality concepts that every professional software developer should appreciate and apply. Read more on the book's web site. |
© Copyright 2002-2005 D. Spinellis.
May be freely uploaded by WWW viewers and similar programs.
All other rights reserved.
Last modified: $Date: 2013/03/18 08:37:27 $ |