Book reviews on the design and evolution of C ++ Language

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.