Detailed explanation <k's 50 pv> (middle)

zhaozj2021-02-08  372

Explanator Notes on

Detailed explanation Revision 1.0

[中]

By Kingofark

[Note]: is "Kingofark's 50 Points of View About Learning C and Programming (Kingofark About learning C and 50 perspectives)"; is "Kingofark's 35 More Points of View About Learning C and Programming (Kingofark About 35 Views on learning C and programming) ".

Terms 17. C is more than just support object-oriented programming languages;

Interpretation]:

To everyone recommends a C designer Bjarne Stroustrup's article "Why C Is Not Just An Object-Oriented Programming Language" (why C is more than just an object-oriented programming language). This article can be found on his personal page.

[Kingofark's harvest]:

In fact, there are many basic but important points of views are all from the masters of masters in the field, I just have a spare no effort to review these views.

Terms 18. One of the best ways to learn programming is to read the source code;

Interpretation]:

This is recognized by the world, the famous authoritative experts, the depends on Dr. Richard Stevens. We can see this from the classic books he worked. A "TCP / IP ILLUSTRATED VOLUME II" (TCP / IP Detailed Volume 2), the original original code contains 1,5000 lines of code in BSDLite4.4, very realistic brings the readers of this book into a truly Programming world. Of course, the programs in this book are c code, learn C , not necessarily, here is just an example to explain the problem.

The conditions for learning are provided to you, and now you have a good job.

[Kingofark's harvest]:

Choose: To soar in the sky, the best way is:

A. Do a wings yourself, from the cliff;

B. Make a glider, find a flat wasteland by wind taking off;

C. Driving a good aircraft, take off on the construction of a good runway;

D. Take the plane to the high altitude, then the parachute (perhaps with a skateboard), jump out of the plane.

I chose D.

[About this article]:

Detailed explanation Preview, I got some valuable comments and suggestions from the master of the master, I would like to thank Ms. Mengyan, he pointed out that I originally explained the improperness. Given a good suggestion.

In view of this, I would like to present the process of improvement to everyone:

My original explanation is:

"This is recognized by the world, the famous authoritative experts, the passed Dr. Richard Stevens, the point of view of the life. We can see this from the classic books herself. A" TCP / IP Illustrate Volume II "(TCP / IP Detailed Volume II), in order to contain 1,5000 lines of code in BSDLite4.4, it is realistic to bring the readers of this book into a real programming world. Linux flourished; OpenSource It is getting more and more strong; "Leon's Unix Source Analysis", "Linux Nuclear Source Code Analysis", "Linux IP Stack Source Code Analysis", and "Apache Server Source Analysis" have been published.

The conditions for learning are provided to you, and now you have a good job. "

Mr. Mengyan gave this explanation as follows:

"About the provisions 18, the example of your source code is actually misleading: all the OS / TCP / IP source code, all C source code, and for the Linux source code I have read, in order to pursue speed, use A large number of hacker skills. Before the beginner did not form a correct concept, if he was fascinated with these skills, he lost his big direction and lost the true C style. "

Then he made the following suggestions:

"About C source code, from programming style, GP, I am more recommending STL and BOOST libraries. But after all, it is a library code, and there is still misleading for most people.

ACE / TAO is said to be a very good source model, but unfortunately my online programming knowledge is lacking, I can't give suggestions according to my own experience. For ordinary applications, it is really difficult to find the source code of style and organization. For example, like WzWindows, Mozilla, one of the characteristics of Template, more inheritance, etc., is not enough. Microsoft's ATL and WTL are unfold around COM. There is a lot of basic knowledge, and C is still excellent, that is, the code is still mixed with a lot of macros. In short, the excellent source code of C 98 style is still hard to find. If you really want to read, I still recommend STL / BOOST. In particular, there are some hierarchical libraries in Boost, which is close to user code, which can be well known. "

Indeed, it is not too easy to find "style and organizational unicure" source code is not too easy, so I thought "If I want to read", I can find it to the domestic and foreign (especially foreign) related C websites. . The best is rare, we have only turned for a second time, but it is still much more excellent in the Terms 8 recommended, such as www.programmersheaven.com, such as www.codeproject.com. I think this "times" we seek is not enough for us.

Here I thank Mr. Mengyan and other people who have helped me!

Terms 19. Don't think that your book in your hand is enough at any time;

Interpretation]:

(1) Computer technology is being developed and refurbished at speeds. The excitement of new technologies in replacing the old technologies, and we have heard it. Oh, in fact, that is not a snoring, but only someone says the sound of "live to the old, learn the old" in another language.

(2) c to standard C, C to standard C . Many natural things are also bloody, evolutionary, evolution. We must recognize this change and follow the steps of development. After all, "development is the hard truth". There are a lot of things to connect all this with you. One of them is books.

[Kingofark's harvest]:

"Oh, my God!" Changed to "噎, my book!"

Terms 20. Please read "The Standard C Bible" (Chinese version: Standard C Collection), master C standards;

Interpretation]:

It is emphasized here, or it is tight to the direction of C , and learn C , learn.

Discussion on "THE STANDARD C Bible" (Chinese version: Standard C Collection), I put in my series "Kingofark's" Five Review "".

[Kingofark's harvest]:

The standard is the standard, I can't do it, I don't have to learn, it is not necessary, I don't have to improve.

Terms 21. Please understand the book, please look carefully; please understand the book, please look hard;

Interpretation]:

The child has just lived, it will not say which language, of course, I can't understand, I can only "hard my scalp" listen to my grandmother Mom and Dad, my brother, my uncle, Auntie, said, I have a long time, I will .

Learning itself is a process never got to be, never familiar with familiarity, never understand the process. If you don't understand, you don't look, it's equal to nothing.

In addition, this is no reason to say it. If you don't have to say, Mr. Lu Xun knows that "Everything is necessary to study to understand" the truth; two, always look at something that you have a light car, you don't have a challenge. ?

[Kingofark's harvest]:

In fact, Aq is not there!

[reference]:

Terms 3; Terms 26.

Terms 22. Don't expect to see what you can remember and master your book - please see the second pass, the third time;

Interpretation]:

To be honest, when I wrote this terms, I don't want to write again - because the reason is too simple, it is normal, people who read the book know. Even some plot simple TV series, some people have to look at it and look at the careful aftertaste (Kingofark is more than one passage "GTO" and "続 · 金 金 金 货"), even the book is even more than a collection of smart collections.

[Kingofark's harvest]:

People who love to eat back to the pot may be easier to experience this truth.

[reference]:

The postscript of .

Terms 23. See "Effective C " and "More Effective C " and "Exceptional C ";

Interpretation]:

Here, I suggest that everyone will see a story of Mr. Houjie "three OOPs of the flesh to the meat." The article can be found on Mr. Houjie's website. Everyone is here to see his corner:

"Although Napoleon is a short child, it is a history of a history. Today I have to introduce the three books, although the little short is like Napoleon's body, in the field of C / OOP, its parts and influence have Napoleon's glory brilliant.

Said that they are thin and short, yes, let the numbers talk: three books together only 256 318 208 = 782 pages, only more than half of the C Primer 3 / E is more than C Primer 3 / E, compared to C language authority THE C Programming Language 3 / E also reached a number of pages of pages. When you visit the bookstore, you don't pay attention, I am afraid that you have missed the existence of these small books. But if you really miss their existence, it is really your great losses.

As far as my personal programming experience, as well as my teaching experience (the object is an industry engineer or college students), as long as the C / OOP design thinking and language use itself, it is not the problem domain, which is more than 90%. Triple books found direct or indirect answers. "

"The utility of the above three books is not only in the outline of the project, but also a deep discussion for each topic. In these books, you will find some advice, tell you what should be done, why; Tell you what should not do, why is it. Basically, of course, whys is more important than whats, which is the most valuable place for these books. As for the perspective of fast food, review a series of guidelines, but also One or two parent-like textbooks is more convenient. "

[Kingofark's harvest]:

I will understand the connotation of these three books. You can use a higher voice than the Saint Seiya. "Break, my little universe !!!!!!" - and 100% can break out - It is not necessary to make a rare after each time you have been hurt.

[reference]:

Mr. Houjie's book review.

Terms 24. Don't stay on the cradle of the integrated development environment, learn to control the integrated development environment, but also learn to use the command line to handle the program;

Interpretation]:

Some beginners who don't care, such as Kingofark, even in one tenth of an integrated development environment. This is a very bad learning situation and should change. In fact, the complex integrated development environment is just a tool software. Even the software itself is not used, how do you do software? Please!

The advanced language has not yet developed to the stage that can completely get rid of the command line operation. In the real underlying, the command line is still indispensable. If you don't think so, then your thoughts are advanced - if you think about it in the coming man, I admit that I am competing over you (because you are unable to benefit).

[Kingofark's harvest]:

Just touch the rice bowl, it is filled with your stomach; only with the lover, lovers can't live in children; the light will not pull, people are not smooth. You know these truths, how do you learn to be scheduled?

Terms 25. Discuss meaningful C knowledge points with others, rather than quarreling XX can't do or YY and ZZ which is better;

Interpretation]:

Especially in the performance of "impetuous", it is because you want to recommend Mr. Houjie 's article "Watch Programmer". This article published in "Programmer" Journal in 2001, 2001; can also be found on Mr. Houjie's website.

The text is specially discussed in this regard with a small title "The war of the tongue", I hope everyone can digest.

[Kingofark's harvest]:

Good envy dumb.

[reference]:

Terms 10-15, 49; Terms 23. Terms 26. Please see "Programming Practice" and strictly follow it;

Interpretation]:

"Program Design Practice" of Machinery Industry Press, is willing to name "The Practice Of Programming", which is combined with B.kernighan and Rob Pike. The book is thin and short, but includes the accumulation and summary of two years of experience in the design of the program, from the highly realistic and artistic perspective, the multi-faceted problems needed to pay attention to the programming, emphasizing that the programming is not only just It is the point of code.

Well-selected material, considerate narrative (also including superior translation), make you rich harvest in an inadvertent word in the inner words - Really, basically getting the tart in the sky, your only pay is to spit out One sentence "Oh, it turned out to be like this!"

Look at how the two works say in the preface to this book, say everyone's heart:

"Have you:

Wasted a lot of time to coding a wrong algorithm?

Using an overcoming data structure?

Test a program and ignore the simplest problem?

I spent a whole day, I'm looking for a mistake, but it should be found in 5 minutes?

Need to make a program run three times faster and use less storage?

Filling the program on a workstation to the PC, or the opposite?

Try to make the easiest modification of some program written by others?

Rewinding a program because you can't understand it at all?

Are these things interesting? "

Please experience the middle-aged column of the two programming fields in style, algorithm and data structure, design and implementation, interface, tired, test, performance, portability, and notes.

[Kingofark's harvest]:

After reading this book, I found that I used to be a fool before; this book can read it evenly; this book can restore the fool to excellent programmers.

Terms 27. Do not think that their significance is exactly the same because there are some syntax and keywords in C and C .

Interpretation]:

A lot of "c things in C " is actually not entirely the so-called "C's thing".

CONST, STRUCT, etc. in C compared to C, there is different!

I still hope that I hope everyone will look at the book. Reuse (Reuse) I said in the Terms 20, "Impressing C , I am studying."

[Kingofark's harvest]:

Ask for fine, grasp the size, this is the truth of the world, and it is not necessary to use Kingofark here.

[reference]:

Terms 20.

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

New Post(0)