ACCU Home page ACCU Conference Page
Search Contact us ACCU at Flickr ACCU at GitHib ACCU at Facebook ACCU at Linked-in ACCU at Twitter Skip Navigation

Search in Book Reviews

The ACCU passes on review copies of computer books to its members for them to review. The result is a large, high quality collection of book reviews by programmers, for programmers. Currently there are 1949 reviews in the database and more every month.
Search is a simple string search in either book title or book author. The full text search is a search of the text of the review.
    View all alphabetically
Title:
Effective C++ 2ed
Author:
Scott Meyers
ISBN:
0 201 92488 9
Publisher:
Addison-Wesley
Pages:
256pp
Price:
£25-95
Reviewer:
Francis Glassborow
Subject:
advanced c++
Appeared in:
10-4
I was delighted to see that this book is now in a second edition. The original was an excellent study for C++ programmers. It consisted of fifty aphorisms heading essays expanding on them. Quite correctly Scott believes that you should not only be given good advice, but also helped to understand when to ignore it. Many programmers would do much better even if they just slavishly followed his advice.

Two of the original fifty items have been replaced. No. 32

'Use enums for integral class constants'has gone. This is largely because the C++ FDIS includes a facility for in class provision of values for
const
integer variables. Some considered the
enum
mechanism as a hack. Personally I disagree (I much dislike the language change), but the new mechanism has the advantage that you can specify the exact integer type want for a manifest constant. Scott has replaced the item with'Postpone variable definitions as long as possible.'The traditionalists will be up in arms, but I side with Scott.

The other retired aphorism is

'Plan for coming language features'which has been replaced with'Familiarize yourself with the standard library.'Obviously the value of the earlier aphorism has gone down (though there are many people using compilers that still have to implement many features) and I hope that the value of the replacement is beyond question.

Some of the other items have been rephrased and a couple have been transposed into a more logical sequence. All the items have been substantially reworked to take account of the ways in which the language (not only in content but in our understanding of how to use it to best advantage) has developed over the last six years.

If you think you understand how to use C++ and have not read the original you certainly should read this edition. Unless you are sure you understood the first edition, you can probably benefit from reading this new one.