Buy Used
Used - Good See details
$13.98 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
Sell Back Your Copy
For a $0.40 Gift Card
Trade in
Have one to sell? Sell yours here
Industrial Strength C++: Rules and Recommendations (Prentice Hall Series in Innovative Technology)
 
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Industrial Strength C++: Rules and Recommendations (Prentice Hall Series in Innovative Technology) [Paperback]

Mats Henricson (Author), Erik Nyquist (Author)
4.5 out of 5 stars  See all reviews (2 customer reviews)


Available from these sellers.



Book Description

Prentice Hall Series in Innovative Technology September 1996
Taking the point of view that good rules make good programs, this text presents proven strategies for using and programming in the C++ object-oriented language in the form of easy-to-follow lists of rules and recommendations.


Editorial Reviews

From the Publisher

This book greatly expands the public domain "Ellemtel" C++ coding standard. Guidelines have been carefully selected and consisely formulated to define a C++ coding standard that should be valid and usable for almost all programmers. Text and code examples explain each individual rule and recommendation. Adopting this book as the company C++ coding standard helps remove an obstacle when trying to be certified for ISO 9000 or CMM. The book covers naming conventions, code organization, resource management, class interface design, object-oriented programming, conversions, error handling, portability, coding style.

Product Details

  • Paperback: 240 pages
  • Publisher: Prentice Hall (September 1996)
  • Language: English
  • ISBN-10: 0131209655
  • ISBN-13: 978-0131209657
  • Product Dimensions: 9.1 x 7 x 0.7 inches
  • Shipping Weight: 1 pounds
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (2 customer reviews)
  • Amazon Best Sellers Rank: #1,865,704 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

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

3 of 3 people found the following review helpful:
4.0 out of 5 stars Good, but overtaken, May 16, 2010
Amazon Verified Purchase(What's this?)
This review is from: Industrial Strength C++: Rules and Recommendations (Prentice Hall Series in Innovative Technology) (Paperback)
It's well known that C++ gives you plenty of firepower for not only shooting yourself in the foot, but blowing your whole leg off. So, if C++ is your weapon of choice, let this book (or something similar) act as your range safety officer. Rules like these don't stop all bad things from happening, but they cut the inevitable coding errors and maintenance problems way down.

These authors originated the Ellemtel coding guidelines, the 1992 predecessors to MISRA and lots of others. This 1996 book builds on that earlier set of rules and extends them. Many of these rules seem obvious, like not casting away "const" - I'd add volatile to that rule, as well. Others point out subleties that wouldn't normally occur to most people, like example 7.14 which shows how a const member function can modify the state of its object. Yet other rules don't go far enough, like the ones that recommend against some parts of the standard libraries. Today's list of no-nos includes strcpy and sprintf, because of the well-known malicious attacks that they enable. Of course, I find that some rules need to be taken with a grain of salt. I fully understand the hazards of ill-considered unions, for example. Still, unions can serve useful purposes. They can be helpful when dealing with hardware registers that have different meaning on read access than on write access, or when picking apart floating point numbers for emulation on integer processors. And, depending on the criticality of your application, these rules skip whole ranges of important practices, like checking for numerical overflow in basic arithmetic operations.

The authors do an excellent job of stating each rule and providing motivating examples for it. So why don't I give it that fifth star? The big reason is age - later rule sets spawned by this one have overtaken it. Others rule sets, written for specific environments, address particular needs better than this one-size-fits-all guide, too. Still, if you think that style guides just talk about how many spaces to indent and where to put the capitals, you really need to think again. Despite its age, this will get you thinking in the right direction.

-- wiredweird
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


1 of 1 people found the following review helpful:
5.0 out of 5 stars Definitely One of the Best, March 2, 2009
By 
Emrys "Dreamer of Dreams, Enchanter of Souls" (Yoko, for those that know what that means.) - See all my reviews
Amazon Verified Purchase(What's this?)
This review is from: Industrial Strength C++: Rules and Recommendations (Prentice Hall Series in Innovative Technology) (Paperback)
The book itself has a long history from it's beginnings as a coding standard for an actual live company. Its authors were quick to convince their employers that it would be beneficial to the company and the community at large to make the document public. The rest is history.

It was translated to English and then released to the community, where it was torn down and tossed around and improved.

Even though there are various places where you can find this book online, it is definitely one that is worth having a physical copy of.

While some of the suggestions in this book do border on stylistic guidelines, the vast majority of it is geared towards making your code readable and easy to debug. The majority of what the author considers to be strictly stylistic is included in an individual appendix at the back of the book.

I will make one simple detracting comment. Some of the information is potentially outdated. The only reason I say this however, is that the book makes the assumption that some operating systems will only support 8.3 format file names. Now that Microsoft Windows has full support for long file names, and Linux has had such support for as long as most of us can remember, this will not often be the case.

These warnings are still good to take into account at times however, as they will let us remember that not every system will be as we expect.

Hands down, I would suggest that every C++ programmer get a copy of this book for their collection.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Only search this product's reviews



What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(1)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

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


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums


Listmania!




Look for Similar Items by Category


Look for Similar Items by Subject