Beginners learning programming, where to start learning?

        I will give you a brief explanation based on my own learning experience and combined with reality.

        There are many kinds of languages, and there are many kinds of classification methods, and I will talk about the hierarchical classification method (this is my personal rough classification method, if there is a better and more detailed classification method, welcome to discuss together).

        The lowest-level language is machine language, such as 0101, 1010, etc., but it is difficult for people to remember all the meanings of these words, so there is a higher-level language-assembly language.

        Assembly language finally has vocabulary and grammar that everyone can understand, but it is still cumbersome to write and difficult to understand, because its design principle is originally a language developed for machines, so people have developed more advanced languages , VB language and C language (of course there should be other languages, but limited to my shallow knowledge, only these two languages ​​are mentioned here).

        C language is a very powerful language, because many higher-level languages ​​and interpreted languages ​​that appeared in the world later were developed based on it. Its power is like giving you a huge tool library, you can use this tool library to develop many functions, and even create new wheels and tools. Its power is not repeated here, but as the world enters the rapid development of the information revolution, people are no longer satisfied with the power of the language, but also require development efficiency. So there are languages ​​that have been widely used until now, such as C++, C#, Java, JS, PHP, Python and so on.

        The history of language development is not accomplished overnight. After the development of many giants, there is today's contending.

       Programming language can actually be regarded as a language for communicating with machines, just like the language for communicating between people. English and Chinese are used as examples later.

        (1) There are identifiers (proprietary names, commonly used in programming languages ​​to represent built-in vocabulary) in programming languages, such as int, float, chat, string, etc., similar to English words and Chinese vocabulary and idioms, fixed Collocations have specified meanings and cannot be easily separated.

        (2) There are also grammars and expressions in programming languages, such as do...while, switch...case in C language, etc., similar to the grammar stop to do sth, stop doing sth, etc. in English, vocabulary A fixed collocation expresses a specified meaning and cannot be easily split.

        (3) There are operators in the programming language, which are similar to the mathematical knowledge we learned in school. The four arithmetic operators "+", "-", "*", and "/" are usually used for addition, subtraction, multiplication and division Said, of course, operators are far more than these, there are also bit operators, relational operators, etc. For beginners, it is recommended to memorize them first, and then use them in practice to remember them more firmly.

        (4) There are also functions in programming languages. Functions are different from the functions learned in mathematics in school. This is a complex of identifiers, grammatical expressions, and various operators.

        Different programming languages ​​have different knowledge points, but for beginners, there is no shortcut to learn the program well, the suggestion is to practice more by yourself, and everyone is welcome to come here to discuss.

Guess you like

Origin blog.csdn.net/qq_15855921/article/details/121109697