November 2002
Intermediate to advanced
352 pages
6h 58m
English
That a problem is basic does not mean it isn't severe or common. In fact, the common presence of the basic problems discussed in this chapter is perhaps more cause for alarm than the more technically advanced problems we discuss in later chapters. The basic nature of the problems discussed here implies that they may be present, to some extent, in almost all C++ code.
Many comments are unnecessary. They generally make source code hard to read and maintain, and frequently lead maintainers astray. Consider the following simple statement:
a = b; // assign b to a
The comment cannot communicate the meaning of the statement more clearly than the code itself, and so is useless. Actually, it's worse ...
Read now
Unlock full access