Notes on C++
The book is the result of 10 years of experience with C++. It is a set of rules collected during these 10 years as the author mentions in the preface. The book is divided into 26 chapters and provides information for senior programmers. Novices are not the audience of this book. The text is presented in a very condensed form. It provides information regarding software products, software architecture, CORBA, and UML. The features of C++ are discussed by starting with general concepts. Afterwards, hints are given of how programs can be specified in an optimal way. This discussion starts with strings, constants, pointers, and references followed by exceptions, libraries, and databases. The book has still the character of notes, collected over time. This might be the reason for some contradictions. In paragraph 3.2, for example, the default constructor is introduced. Later, in Section 4.3.2, there is an advice: ``do not use default constructors. Class diagrams of UML are introduced on page 35 and 36. Unfortunately, already on page 38, a diagram is given which is definitely not in the notation of UML. Sometimes, techniques are discussed like ``access to variables without instantiating objects without comments (page 103). Why should a programmer do such things? Some words regarding good and bad programming would be appreciated. A little bit confusing is the example on page 172 and 173. It is presented as a UML class diagram under the headline ``meaning of inheritance. Surprisingly, the ``contains relation (association) and ``has a relation (association) are explicitly described as special kinds of inheritance. Also ``uses and ``delegation are discussed under the headline of inheritance, which is totally misleading. Nevertheless, the book might be a source of knowledge for C++ programmers.
This page was built for publication: Notes on C++
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q4443491)