by James O. Coplien
|
by Martin D. Carroll
|
by Margaret A. Ellis
|
by Bjarne Stroustrup
|
Ruminations on C++: A Decade of Programming Insight and Experience by Andrew Koenig |
Modularize. Use subroutines.
This book addresses programming style, with more emphasis on programming-in-the-large, and is restricted to the domain of C++ programs. It is written for the programmer who has learned the mechanics of C++, but is experiencing difficulty in applying the language features - particularly the object-oriented features - to programming problems. Though the discussion is limited to C++, many of the observations about programming are true of other languages. I leave the treatment of language-independent style in-the-large to more ambitious authors.
I have adopted Kernighan and Plauger's method of distilling rules of programming style from the critical reading and rewriting of programs. All the programs used here are taken from textbooks, magazine articles and tutorials on C++ programming. None was created artificially for this work. Some programs are presented exactly as originally published, while others have been altered cosmetically. The alterations range from the correction of in-the-small bugs, which would only distract, to structure-preserving transformations of programs for which copyright was not obtained.
The spirit in which to approach the material is that of an "egoless" code review. We all learn by reading and reviewing each other's programs. The material is not a criticism of individual programmers - it seeks only to differentiate between good and bad programs. No doubt the programs that are presented here as "better" versions have their own shortcomings. The reader is encouraged to examine these programs critically, looking for further improvements in programming style.
0201563657P04062001
Product Details
Would you like to update product info or give feedback on images?
|
![]() |
59% buy the item featured on this page: C++ Programming Style $32.85 |
![]() |
11% buy Advanced C++ Programming Styles and Idioms $48.34 |
![]() |
10% buy C++ Gotchas: Avoiding Common Problems in Coding and Design $28.19 |
![]() |
10% buy Programming: Principles and Practice Using C++ $58.53 |
Suggested Tags from Similar Products(What's this?)Be the first one to add a relevant tag (keyword that's strongly related to this product).
|
|
Share your thoughts with other customers:
|
|||||||||||
Most Helpful Customer Reviews
Share your thoughts with other customers: Create your own review
|
|
|
After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in. |