About Mr. Tan haoqiang's c ++ Programming Tutorial

Source: Internet
Author: User

I recently joined the bookstore and was surprised to find another c ++ textbook in China. red cover, heavy and solemn, printed on the back of the book "National XXX excellent teaching materials" and other familiar words, pick it up, the author is indeed like a ray of ears Mr. Tan haoqiang. the contribution made by the C language-born professor in the C field can be said to be "everyone on Earth knows" (even anyone who does not study c knows ^_^ ).
However, what surprised me came:
Open the Directory and browse it from start to end...
Well, it's good. It's well-behaved, well-organized, and well-organized. What other idioms are there? ^_^ !)
However, (why should I say "?), I was surprised by the Discover: there was no reference to template or template in the entire directory, let alone GP (oh, you mean STL? It seems that no). It seems that C ++ has never had a GP (: $). At that time, I had doubts about my understanding :)
At that time, I continued to flip back and wanted to see if the second half of the directory was torn down (^ o ^). But obviously, the page number is continuous and I am wrong (: $)

Of course, this is a teaching material. teaching materials are the most important tool for students to get started. They should be given great attention, just like the first education.
It cannot be said that Mr. Tan haoqiang did not pay much attention to his book. He opened his book and still saw the real knowledge in practice. But Bjarne stroustrup has long said that C ++ is not a better C. c ++ is a brand new language. One of the most important paradigms in C ++ is GP, General (general purpose) the idea of programming is the most elegant and powerful paradigm in C ++. how can I forget GP?

Both <essential C ++> and <accelerated C ++>, the author Andrew Koenig is one of the most influential people in the C ++ community, and is also the best-looking elder, or the only name that appears in ISO. c ++ standard people (see Koenig lookup), who put STL and GP in a conspicuous position, and educate programmers to have the idea of generic programming at the beginning, integrate this idea into daily design and coding-from them, we can see that C ++ education is on the right track in the true sense.

But why do I have to say "but" again? ^_^ !), As a well-known Mr. Tan in China, such a <C ++ Program Design> was originally a good thing, although the C ++ classic getting started tutorial has been born, but it is always a good thing to have a book that conforms to Chinese habits. However, Professor Tan's educational method is the "C ++ as a better C" in the prehistoric era ", that's something. at present, Chinese C ++ applications are still stuck at a shortest level and education is inseparable. Education is a crucial part. But did our professor tan do his best?

Although Professor Tan's book may not be wrong and does not mislead students, it can be called "do things right", Professor Tan does not "do the right thing ".

So Professor Tan's book does not really mislead students?

Or, ideological misleading is the most terrible misleading.

[BTW. later, I couldn't help turning over the book, but not just the directory. I looked at the class and finally explained the template syntax in a "corner, let's talk about a few lines, "concise and concise", corresponding to the directory, which was originally located in a section similar to "extended explanation" (the specific directory name does not remember ). and the function template, I have no idea to find it again, the template is special, the function template is overloaded... I didn't see the introduction of the general (or generic) programming idea about the template design. Maybe I will give it a brief introduction in that corner, I am no longer interested]

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.