I 've been writing this book review for a long time, but I 've been writing it in several different ways. I don't feel good about it. I finally gave up after several drafts, I just made an excerpt at the beginning of my blog. It may be because the idea of the father of C ++ is too deep and I cannot understand it at all. Finally, I just want to give a rough description of what I have learned. But it doesn't mean this book is not good. On the contrary, I think every programmer should read it again.
1. objective attitude:
The resulting calmness and reason make C ++ more simple, practical, and practical.
2. design objectives:
Becoming a common language is the basic goal of C ++, which is the root of many strengths and many inharmonious factors in C ++. However, all these are based on solutions to actual problems, not design defects or personal preferences.
3. Options:
Many language features have been weighed and considered. Performance, semantics, and actual problems are often decided, but most importantly, the most fundamental basis is the application of the real world.
4. Principles and compromises:
In the history of C ++, the collective power has always played a leading role. In this way, we will not be able to avoid comments. However, to reach a unified view, we must compromise within the scope of principles. In the book: "In principle, I agree that orthogonal is a good thing, but it also depends on its price." This is for some people who think that adding a language feature as long as it improves the orthogonal, is the answer to the viewpoint of good things.
5. Garbage collection:
This is an issue that all C ++ critics will repeat, and is also an inevitable issue in almost all language comparisons. "In principle, I think garbage collection is good ...... however, without using garbage collection, C ++ is closer to many applications. "The" Optional garbage collection "view can be seen in this 1994 book, the foresight of the father of C ++ is undoubtedly presented here.
All ideas are actually based on the fact that the design of C ++ has never been separated from the actual application, nor from the contact and exchange with the majority of developers, C ++ is not a product of a laboratory, but a work of art that embodies the painstaking efforts of many people.