
"
Code Reading: An Open Source Perspective", by
Diomidis Spinellis, is a new kind of book. It's a foray into a domain normally left untouched by Computer Science texts and exemplifies yet another positive contribution from the Open Source movement. Simply put,
Code Reading is a detailed discussion of the techniques required to read and maintain both good and bad code. As an interesting twist, the author draws on projects from the Open Source world to provide examples, both good and bad.
1) I haven't had a chance to try it out reading a large chunk of code, but I have found my style of writing to have improved. I was working on a Java Servlet a little bit after I finished reading it, and found myself thinking about how to clarify my style, and where were good points to put in comments. All in all, I think it had quite a good effect on my coding style.
2) While it does provide brief explanations of most C features, this is not a Learning C book. At least an intermediate knowledge of C is require, and some experience with C++ and/or Java would be helpful. But the most important thing is a working knowledge of C-style syntax.
Thanks all, and happy Thanksgiving!