The importance of English for programmers

Learn programming requires a good foundation in English it?

My answer is: No, as long as you know the 26 English letters is enough, and now Chinese documents and more particularly, a lot of things very well finished.

But if you want to learn a programming language, that English is so important, so they took TIOBE published in January 2019 of the top 20 languages for example, the official website of all languages, official documents are in English, although we on the site ( RUNOOB.COM ) made some introductory courses, however, these are just basic, really a lot of concepts, knowledge is the most complete in the official documents, and also translated some words very hard to pronounce.

Here Insert Picture Description
In addition, we are in the process of learning to program, debug, run the code if error, also basically English explanation to show that if we have a good foundation in English, many mistakes can see directly, before you saw a colleague in the process of debugging code, an error message is: XXX file not found, then he went to Baidu search of answers, although this is the last to know the meaning of file is not found, but it was so obvious tips, this time we retrieved entirely possible not wasted. It can be said now error prompt program have done a lot of very friendly, but a lot of junior programmer because there is no good foundation in English, for no reason in the above spent a lot of

There are many IDE (Integrated Development Environment Integrated Development Environment), all operations are in English, although there are many domestic Chinese version, but I strongly suggest that you use the English version, for example, we used VScode, in fact, look at it for a long time that several English operation:

Here Insert Picture Description
Another is that some programmers write code like to use Chinese pinyin to name, to do so is estimated that only their own to see to understand (a few days myself do not understand), because there are too many Chinese pinyin homophone, as well as tone, this name is difficult to guess the code you what it meant, but I guess he does not know how to estimate is translated into English, if this is the case I would suggest using the following Google translation or consult colleagues strongly recommend the use of Chinese pinyin, looking Pinyin name code, it is a sad small series with 5 years of experience in the development of C ++ programmers on C ++, you have to do to integrate the material, a complete learning C ++ course, learning materials and tools. I can enter. skirt. In; - before 2635; after 15231. Receive, free of charge to everyone, I hope you can rely on their own efforts to become the next great programmer.

My advice:

1, the file name in English, the variable name in English, do see the name of know these views, such as: getUser (get user), setUser (user settings), userList (user list).

2, code comments in English, debugging code error of trying to understand, really understand and then with Google translate or go to a search engine to find the answers.

3, every day to see the English document, the English blog, if you can write something in English or blog notes.

4, IDE use the English version, just not used to start, with a long time, you'll find that English is most comfortable.

5, access to information using Google, English retrieval, description properly, a search for a prospective, also not afraid of English articles in the code with a full-width half-width, regardless of the eggs.

More than a few habits as long as we adhere to a year or so, I believe that our programming skills will be a qualitative change.

Guess you like

Origin blog.csdn.net/yizhixin/article/details/94618475