views:

175

answers:

3

I would like to know about books that talk about design issues like when to use namespaces and other coding standards to write good quality efficient C++ code. One that talks about Code testing will also be appreciated.

Thanks

+12  A: 

"Large-Scale C++ Software Design" by John Lakos worked great for me years ago on how to organise code in large projects.

On testing, this is not my area, and I cannot recommend a great book. What I can do is discourage you from getting "Testing Computer Software", 2nd edition by Cem Kaner, Jack Falk and Hung Q. Nguyen. I found it severely dated and extremely clumsy. But please take this with a grain of salt.

CesarGon
+1 was about to recommend exactly the same book.
Greg Hewgill
+1  A: 

For big projects, it is essential to follow a common design and coding style. Consistently.

I found the following book useful to have a common ground in a big project.

C++ Coding Standards: 101 Rules, Guidelines, and Best Practices by Andrei Alexandrescu, Herb Sutter

ArunSaha