Join Amazon Prime and get unlimited Free One-Day Delivery. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
   
More Buying Choices
23 used & new from £0.91

Have one to sell? Sell yours here
 
   
C++ Programming Style (APC)
 
See larger image
 

C++ Programming Style (APC) (Paperback)

by Tom Cargill (Author)
4.2 out of 5 stars See all reviews (4 customer reviews)
Price: £30.99 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Usually dispatched within 1 to 3 weeks.
Dispatched from and sold by Amazon.co.uk. Gift-wrap available.

13 new from £22.47 10 used from £0.91

Customers Who Bought This Item Also Bought

More Effective C++: 35 New Ways to Improve Your Programs and Designs (Professional Computing)

More Effective C++: 35 New Ways to Improve Your Programs and Designs (Professional Computing)

by Scott Meyers
4.7 out of 5 stars (7)  £28.04
Modern C++ Design: Applied Generic and Design Patterns (C++ in Depth Series)

Modern C++ Design: Applied Generic and Design Patterns (C++ in Depth Series)

by Andrei Alexandrescu
4.8 out of 5 stars (6)  £28.04
C++ Template Metaprogramming: Concepts, Tools, and Techniques from Boost and Beyond (C++ in Depth Series)

C++ Template Metaprogramming: Concepts, Tools, and Techniques from Boost and Beyond (C++ in Depth Series)

by David Abrahams
4.0 out of 5 stars (3)  £27.12
Exceptional C++ Style: 40 New Engineering Puzzles, Programming Problems and Solutions (C++ in Depth Series)

Exceptional C++ Style: 40 New Engineering Puzzles, Programming Problems and Solutions (C++ in Depth Series)

by Herb Sutter
4.0 out of 5 stars (1)  £26.34
Explore similar items

Product details

  • Paperback: 248 pages
  • Publisher: Addison Wesley (16 Sep 1992)
  • Language English
  • ISBN-10: 0201563657
  • ISBN-13: 978-0201563658
  • Product Dimensions: 23.4 x 18.7 x 1.6 cm
  • Average Customer Review: 4.2 out of 5 stars See all reviews (4 customer reviews)
  • Amazon.co.uk Sales Rank: 643,366 in Books (See Bestsellers in Books)
  • See Complete Table of Contents

Customers Viewing This Page May Be Interested in These Sponsored Links

  (What is this?)
C++Builder | Visual IDE
   www.Embarcadero.com    RAD Visual IDE for rapid C and C++ Development. More info. Free trial 
Anti Decay Tooth Products
   www.UKBreathClinic.co.uk    Recaldent Tooth Mousse and Gum New Clinpro Tooth Creme Paste 
APC Clothes
   www.my-wardrobe.com/APC    Summer sale now on. Get up to 80% off selected items. Buy online now. 
  
 

Product Description

Product Description
C++ supports programming-in-the-large, allowing relationships between different parts of a program to be expressed. The scope of C++ programming style therefore goes beyond traditional in-the-small issues which relate to the details of line-by-line coding. This book examines the use of the in-the-large language features of C++, which sometimes confuse even experienced programmers. The author demonstrates that unwarranted use of the more powerful language features may lead to cluttered programs which are harder to comprehend and sometimes less efficient than more straightforward alternatives. Cargill rewrites several programs, using techniques that range from improving consistency to removing redundant inheritance. The presentation simulates a code review, in which readers may independently evaluate and criticize alternative approaches to programming problems, and then compare their analyses with those of the author. Design and coding style rules are distilled from the examples. Understanding and following these rules will help professional programmers design and write better C++ programs.A chapter is devoted to each of the following topics: *abstractions *operator overloading *consistency *wrappers *unnecessary inheritance *efficiency *virtual functions Building on the programming rules introduced in the first seven chapters, Cargill presents a case study in which a single program undergoes repeated transformations that improve its overall quality while reducing its size. The book concludes with a chapter on multiple inheritance. 0201563657B04062001

From the Back Cover

C++ supports programming-in-the-large, allowing relationships between different parts of a program to be expressed. The scope of C++ programming style therefore goes beyond traditional in-the-small issues which relate to the details of line-by-line coding. This book examines the use of the in-the-large language features of C++, which sometimes confuse even experienced programmers. The author demonstrates that unwarranted use of the more powerful language features may lead to cluttered programs which are harder to comprehend and sometimes less efficient than more straightforward alternatives. Cargill rewrites several programs, using techniques that range from improving consistency to removing redundant inheritance. The presentation simulates a code review, in which readers may independently evaluate and criticize alternative approaches to programming problems, and then compare their analyses with those of the author.

Design and coding style rules are distilled from the examples. Understanding and following these rules will help professional programmers design and write better C++ programs.

A chapter is devoted to each of the following topics:

  • abstractions
  • operator overloading
  • consistency
  • wrappers
  • unnecessary inheritance
  • efficiency
  • virtual functions
Building on the programming rules introduced in the first seven chapters, Cargill presents a case study in which a single program undergoes repeated transformations that improve its overall quality while reducing its size. The book concludes with a chapter on multiple inheritance.



0201563657B04062001



See all Product Description

Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organize and find favorite items.
Your tags: Add your first tag
 

 

Customer Reviews

4 Reviews
5 star:
 (2)
4 star:
 (1)
3 star:
 (1)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.2 out of 5 stars (4 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
1 of 1 people found the following review helpful:
3.0 out of 5 stars V Good Explanation of Inheritance and C++ Style but too thin, 13 May 1999
By A Customer
This book is a must read, I would give it 5 crowns, however it is far too thin, for software professionals. Although I enjoyed it immensely, gained a lot of insight how to use classes and objects effectively, it suffers from being too short, and not covering enough ground.

Therefore I feel at the price, it warrants only 3 crowns, for the money, I want a book I'd return to, rather than read once, and leave on the shelf.

For a company library, or if you're loaded then rate this book at 5 crowns. Everyone else read it, but borrow rather than buy, your money would be better spent on less terse works, eg) Stroustroup's 3rd Edition, Programmin in C++, or the Scot Meyerrs books.

Perhaps someone could persuade Tom Cargill to extend the work, cover more areas, C++ has certainly grown rapidly since 1992, in which case I'd definitely reconsider, and recommend this work.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
4.0 out of 5 stars dated but successful on its own terms, 22 Feb 2007
C++ Programming Style still gets regularly mentioned as an important guide to intermediate C++. However, from the perspective of 2007, it's looking long in the tooth.

The book was published in 1992, so the modern reader will notice the old fashioned C++ - no templates (therefore no STL), no exceptions, no strings, old style .h headers. The implementation of the assignment operator relies on a check for self assignment (rather than merely using it as an optimisation), and it uses arrays polymorphically. Readers of Exceptional C++ and Effective C++ will know that these are not recommended practices in modern C++. However, I assume that you aren't going to read this without a good grounding in basic and intermediate C++ and can spot the parts which will require modification.

Fortunately, the book is structured as a series of code reviews, so it stands out from the glut of mini-essay type books, and the general principles of class design that the book propounds remain useful. And even fairly advanced programmers probably won't spot all the problems that Cargill highlights, so you'll definitely learn something.

I'm giving it four stars because is still covers a core of C++ that is relevant and you can pick it up cheaply. But don't expect it to be fully up to date.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
5.0 out of 5 stars Outstanding book - will change the way you program, 4 Nov 1998
By A Customer
This is an outstanding book about object oriented programming in C++. The ideas and examples in the book are expressed in C++ but are applicable in any programming language.

The examples are very clever; the problems the Tom Cargill exposes are real; and the solutions are elegant and practical.

No matter how good you are, or experienced, the ideas in this book can dramatically improve the way you write C++ programs, if you let them.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

5.0 out of 5 stars valuable source for lower level architectural decisions
This isn't just a book for C++ programmers, it deals with architectural decisions in object-oriented programs whose example base uses C++ programs. Read more
Published on 2 Feb 1998

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]

   


Listmania!


Look for similar items by category


Feedback


Health & Beauty at Amazon.co.uk

Elemis Resurface and Renew Skin Care Gift Set of 4 Products
From soap to shavers, massagers to mascara, stock up on your daily essentials or truly pamper yourself.

Discover Health & Beauty

 

Beauty without the Beast

Olay Regenerist Daily 3 Point Treatment Cream
From au naturel to party glam, we have all the best names in cosmetics and skincare.

Discover Beauty at Amazon.co.uk

 

A Close Shave

Philips Nivea Coolskin HS8060 Moisturizing Rotary Shaving System
For all types of hair removal, stay smooth with Amazon.co.uk.

Discover Shaving & Hair Removal

 

Treat Someone

Amazon.co.uk Gift Certificates--available in any amount from £5 to £500 With an Amazon.co.uk Gift Certificate, you can get them what they want (even if you don't know what that is).

Learn more about Gift Certificates

 
Ad

Where's My Stuff?

Delivery and Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue Shopping: Top Sellers

amazon.co.uk Amazon Home
International Sites:  United States  |  Germany  |  France  |  Japan  |  Canada  |  China
Business Programs: Sell on Amazon  |  Fulfilment by Amazon  |  Join Associates  |  Join Advantage
Customer Service  |  Help  |  View Basket  |  Your Account
About Amazon.co.uk  |  Careers at Amazon
Conditions of Use & Sale |  Privacy Notice  © 1996-2009, Amazon.com, Inc. and its affiliates