Learning language

xiaoxiao2021-03-14  210

Learning language

Heart such as water

I am trying to learn C , after I learned Java and C #, typically get rid of the pump.

C makes me very confused. This language is too complicated, and he covers too much characteristic, and the field is too wide. In this language, you can make the most handsome thing in the world, or you can make the most fading thing in the world. Since C and C requirements are compatible with each other, the project is always mixed different styles, structured, object-oriented, orified lateral, bias applications. One word, chaotic! Not at all in the Java platform.

Until, I read such a word:

No programming language is perfect. Fortunately, a programming language does not have to be perfect to be a good tool for building great systems. In fact, a general purpose programming language can not be perfect for all of the many tasks to which it is put . What is perfect for one task is often seriously flawed for another because perfection in one area implies specialization. Thus, C was designed to be a good tool for building a wide variety of systems and to allow a wide variety of ideas to be expressed directly .

Not everything can be expressed directly using the built-in features of a language. In fact, that is not even the ideal. Language features exist to support a variety of programming styles and techniques. Consequently, the task of learning a language should focus ON MASTERING The Native and Natural Styles for That Language - Not On The Unding of Every Little Detail of All The Language Features.

In practical programming, there is little advantage in knowing the most obscure language features or for using the largest number of features. A single language feature in isolation is of little interest. Only in the context provided by techniques and by other features does the feature acquire meaning and interest. Thus, when reading the following chapters, please remember that the real purpose of examining the details of C is to be able to use them in concert to support good programming style in the context of sound designs. this is "The C PROGRAMMING LANGUAGE SPECIAL 3rd Edition " If it is a newbie, like me is a few words for C , it is necessary to pay special attention to the paragraph of the middle red.

If you really understand this, then we will love C , even Java, C #.

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

New Post(0)