Meyers, Effective C++ (review)
If you have read my comments on Stroustrup's The C++ Programming Language you will have heard my confession regarding the writing of spaghetti code. With the help of "Effective C++" I am trying to overcome my tendencies to write myself into knots.
This is a really useful book! (Thanks to Damian Conway for pointing me at this one.) The text contains a numbered list of suggested improvements that really help things along. Sections include: Suggested changes you should make to your coding style when moving from C to C++; memory management; constructors, destructors & assignment operators; classes & functions (design/declaration of & implementation issues) and Inheritance. The tips I have found to be a good way of eliminating errors before they happen.
This is the kind of text written to stop people like me from tripping over their own feet. The tips are written in black and white and you have only yourself to blame if you don't follow their advice.
Alan Dorin, 22 Jul '95