Jackzhou's book reviews: C ++ primer Chinese version (version 4th)

Source: Internet
Author: User

C ++ primer Chinese version (4th) book reviews

 

(1) Advantages: as the most classic C ++ entry-level book, its biggest advantage is its comprehensive content, compliant with standards, and meticulous explanation. All the basic knowledge of the C ++ language can be seen at a glance here. In the author's extremely delicate pen, the C ++ tigers are no longer terrible. The book not only teaches you the C ++ syntax, but also teaches you how to write programs (of course, it is only a preliminary level ). The introduction of the C ++ standard library has long been a major feature of the book. It may have been a bit confusing for beginners at the beginning (it is not difficult to pay attention to the knowledge itself, because the concept of stream and container is not difficult to understand), but the arrangement is nothing more than to convey to you the idea that learning a language is to use it to write a program, instead of becoming a language expert. This is the most basic principle for us to learn any computer language (except for scholars who study computer language ). Some people say this is more like a reference manual for C ++ compilers. As we all know, C ++ is a language that is hard to learn and easy to use ). It is hard to learn because the C ++ syntax itself is very complex, powerful, and supports many programming paradigms. Each syntactic sugar has many special cases and is not recommended in the design style, therefore, the introduction of syntax must be detailed and comprehensive, but you must note that when introducing the syntax sugar, you must write the program for the purpose, rather than for the syntax. The author always tells you how to use every C ++ syntax. The ease of use is because the C ++ standard library (especially STL) is very elegantly designed, abstract, and easy to use. It is simply pleasing to the eye to use. The three core concepts containers, iterators, and algorithms are not hard to understand for a person with a basic computer discipline (such as a data structure and C language. On the other hand, even if the standard library does not have what you want, as long as your c ++ has a solid foundation and relies on its powerful expression ability (you can say for sure, c ++ is the most expressive in all languages. It is not difficult to design a library with a high degree of abstraction.

(2) Disadvantages: the delicate writing method often brings about another consequence, that is, the language is too cool. I often lament when reading this article. Why do I have to say this very simple concept? (it has nothing to do with Chinese translation. I have read the original English version.) I have to repeat it several times. The whole book is still quite tiring. I feel that I can explain many things clearly with a very simple sentence, but it is annoying to say it in the author's pen. It may be because the author takes care of beginners, but taking care of Beginners should not lose the simplicity of the language. Many simple things in the book are complicated. The language in this book is not vivid enough. It is far behind Scott Meyers's effective C ++ language style. Technical books are boring to read, so I think the language style is also very important. In addition, the author uses an example to concatenate the entire book. However, I feel that this example is not complete enough and does not allow readers to form a clear software design picture. In fact, I do not really recommend that you use an example to illustrate the writing style of the entire book,
In this way, chapters are highly correlated, and an example cannot explain all the problems in the whole book.
On the contrary, multiple examples allow readers to enrich their knowledge and clarify their concepts or problems.

(3) Learning suggestion: it is best to finish reading in two months. I finished reading in one month. There should be no fewer books to answer this exercise, and every exercise in the book should not be spared. Although each question may not be required to be done by yourself, you should at least look at how people implement it in the exercise answer book. If you can't write code, you can look at the code of others and imitate, start, and think. This way, the loop will be faster and faster. We must establish such a concept that writing programs is the core of learning language books. In fact, it is equally important for computer science to start and use computers. Do not let go of the appendix in the book. It is best not to let go of such a classic book (and after several versions of practice. Once you have carefully completed the entire book, you will feel like setting aside the cloud. Oh, it turns out that C ++ is like this, and you will also find that your skill is greatly increased.

(4) Foundations: Many people say this book is not suitable for C ++ beginners. I disagree with this idea. Why can't we get started with programmers outside China? Many may be influenced by Tan haoqiang's books. I think that is the best way to get started. In fact, this book also has the characteristics of Tan haoqiang's book, and it is also comprehensive. It can be used as both a C ++ entry-level book and an indispensable reference book for senior C ++ programmers. Chinese people always feel like they are feeding food. They need to feed it to you with just one bite, and they can't eat too much for fear. They can't eat too little, but complain less, this is a sorrow. Learning is a process of exploration and has no fun to explore.

I think that as long as you have basic concepts of programming and basic ideas of algorithms (such as the foundation of C language and data structure), you can fully learn this book. Of course, if you have an object-oriented basis, or have experience in object-oriented languages (such as Java or C #), it is very easy to read this book.

(5) book index: Five Stars (out of five stars)

(6) Recommendation index: Five Stars

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.