About the "C ++ programming tutorial" of Mr. Tan Haqiang

xiaoxiao2021-03-06  51

Recently, I have been in the bookstore. Surprised to find a C textbook again in China. The red cover, the thick and solemn, the book is printed with the "national xxx excellent textbook" and other words, pick up, the author is like the old Mr. Tan Haoqiang, such as Lei Tong The old professor of this born C language can be said to be "the earth people know" (even if I don't learn C, I know ^ _ ^). But, the thing that is surprised is coming: Open Directory, browsing from head to tail ... Well, good, medium rules, there is a reason, unordered, the giant 靡 (^ ^!) But, (^, why do I want to say "But"?), I am surprised by Discover: Actually, there is no Template, or template or template, not to say, don't say GP (Oh, you said that STL? It doesn't seem to be GP like C (: $), I gave birth to my understanding :) I will continue to turn it back, I want to see if it is not a directory, but I'm torn (^ o ^), but it is obvious, The page number is continuous, I am wrong (: $), of course, this is a textbook, the textbook is the most important tool for students. It should give great attention, just like enlightenment. Mr. Tan Haoqiang does not pay attention, Open his book, it is still everywhere in practice, but Bjarne Stroustrup has long said that C is not a Better C.c is a brand new language, one of C is the most important paradigm is GP. General Purpose's programming idea is the most elegant and powerful paradigm in C . How can I forget GP? Whether it is or (they are all extremely classic entry textbooks, especially the latter, Author Andrew Koenig is one of the most stateful people in the C community, but also the best in-depth elders, or the only name appeared in the ISO.C standard (see Koenig Lookup), they all put STL, GP Put in a prominent position, educational programmers have Generic Programming's thoughts, integrating this idea into daily design and coding - from them, we see C education is going on the true right track However, (咦, why do I have to say "but"? ^ _ ^!), As Mr. Tan, the domestic visibility is so high, there is such a "C program design> Originally a good thing, although C classic The entry tutorial has been born, but there is "the original" the original "in line with Chinese habits, it is always good, but Tan teaches the" C As a better C "of the prehistoric era, which is a bit. Now The C app is still staying in shallow levels and education can be said to be separated, education is a crucial ring, but Is our TAN professor trip to do it? Although Tan programing may not have a mistake, there is no misleading students, it can be said to be "do things right", however, Professor Tan did not "do the right thing". So, Professor Tan did not mislead students? Or, the misleading of thought is the most terrible misleading. [BTW. I couldn't help but turn the book, this is not only turned ", I watched it. Regarding the part of the class, finally turned to a "corner" explanation about template syntax, talking a few lines, "said concise", corresponding to the directory, originally located in a "extended explanation" (specific directory name I don't remember) And the function template, I have no thought, template offset, function template overload ... About template design, general (or generic) programming idea, anyway, I didn't see, perhaps Will once again "Swords" again, I am not interested]

转载请注明原文地址:https://www.9cbs.com/read-87567.html

New Post(0)