Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
   
More Buying Choices
37 used & new from $4.24

Have one to sell? Sell yours here
 
   
Tell a Friend
C++ Programming Style (Addison-Wesley Professional Computing Series)
 
 
Are You an Author or Publisher?
Find out how to publish your own Kindle Books
 
  

C++ Programming Style (Addison-Wesley Professional Computing Series) (Paperback)

by Tom Cargill (Author)
3.9 out of 5 stars  (7 customer reviews)

List Price: $44.99
Price: $40.49 & this item ships for FREE with Super Saver Shipping. Details
You Save: $4.50 (10%)
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Only 3 left in stock--order soon (more on the way).

Want it delivered Monday, July 28? Choose One-Day Shipping at checkout. See details

37 used & new available from $4.24

Better Together

Buy this book with C++ Strategies and Tactics (Addison-Wesley Professional Computing Series) by Robert B. Murray today!

C++ Programming Style (Addison-Wesley Professional Computing Series) C++ Strategies and Tactics (Addison-Wesley Professional Computing Series)
Buy Together Today: $79.15

Customers Who Bought This Item Also Bought

Advanced C++ Programming Styles and Idioms

Advanced C++ Programming Styles and Idioms by James O. Coplien

4.3 out of 5 stars (20)  $53.99
The Annotated C++ Reference Manual

The Annotated C++ Reference Manual by Margaret A. Ellis

4.3 out of 5 stars (13)  $47.96
Designing and Coding Reusable C++

Designing and Coding Reusable C++ by Martin D. Carroll

3.5 out of 5 stars (4)  $32.80
Effective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd Edition) (Addison-Wesley Professional Computing Series)

Effective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd Edition) (Addison-Wesley Professional Computing Series) by Scott Meyers

4.8 out of 5 stars (132)  $41.80
The Design and Evolution of C++

The Design and Evolution of C++ by Bjarne Stroustrup

4.6 out of 5 stars (20)  $44.40
Explore similar items : Books (73)

Editorial Reviews
Book Info
Examines the use of the language features of C++, which sometimes confuse even experienced programmers. Author is well regarded expert in C++. DLC: C++ (Computer program language).

From the Inside Flap
Almost two decades after the publication of Kernighan and Plauger's classic, The Elements of Programming Style, its compact set of rules remains the best general guidance on good programming. Today, however, our programs are larger and our programming languages have changed. We now care as much about how the components of a program fit together as we do about the algorithms and data structures used in each component. DeRemer and Kron coined the terms programming-in-the-large and programming-in-the-small to make a distinction between the large-scale and small-scale aspects of programs. By programming-in-the-small, they meant dealing with components of a program that are "one to a few pages long" - the size of a typical C++ class. By programming-in-the-large, they meant the structuring of in-the-small components into a program - in C++ terms, dealing with relationships between classes. Kernighan and Plauger concentrated their work on the issues of programming-in-the-small. Their advice about programming-in-the-large is sound, but minimal.

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

See all Editorial Reviews


Product Details
  • Paperback: 248 pages
  • Publisher: Addison-Wesley Professional (July 10, 1992)
  • Language: English
  • ISBN-10: 0201563657
  • ISBN-13: 978-0201563658
  • Product Dimensions: 9.2 x 7.4 x 0.6 inches
  • Shipping Weight: 1 pounds (View shipping rates and policies)
  • Average Customer Review: