Home >Common Problem >How to learn programming well

How to learn programming well

silencement
silencementOriginal
2019-06-14 13:38:5812362browse

How to learn programming well

1. How to learn programming

First, take a look at Baidu Encyclopedia’s definition of programming language:

Programming is the Chinese abbreviation of programming, which is the process of letting a computer solve a certain problem on its behalf, specifying a certain calculation method for a certain computing system, making the computing system run according to the calculation method, and finally obtaining the corresponding results.

It is a standardized communication skill. Any language exists for communication, and programming language is no exception. The only difference is that the communication object of programming language is a computer. The computer itself has no thoughts, but we use some "language" that it can understand to let it do things for us.

Computers are very obedient. If you want to do anything, you only need to use programming language to tell it how to do each step. The reason why bugs appear in programming is because it cannot find itself in the process of progress. It cannot understand what it needs or what you tell it to do, and the computer will stop unhappy.

Okay, back to the topic, how to learn programming language? Is it better to learn it by yourself or go to a training institution?

Actually, this question depends on you. If you usually have plenty of time and have strong self-control, of course you can study by yourself, but there will be some problems with self-study. For example, what should you do if you encounter problems and bugs during the learning process? solve? Can I persevere?

Of course it is possible to study in a formal training institution, but if any institution says that it will provide teaching and distribution, and if you can’t find a job, you will not be charged tuition. In this case, I suggest you not to test the waters. There is no such thing as heaven It's a good thing that the pie is lost, and formal training institutions will only recommend you for employment, but will not guarantee employment, so bear in mind.

In addition, when you start to get started, you can read some classic programming language books, which you can search online by yourself. For example, if you want to learn Java, you can go to Zhihu and search which books you should read to learn Java by yourself. Of course, I personally prefer to watch some videos to learn simultaneously, which can give people a more intuitive feeling.

Also, no matter how powerful the program is, it can only be typed out bit by bit. You may think it is very simple when you see other people typing out the code by dividing it by three, five, and two. However, you must never be too ambitious and have too little power. You have to do it yourself. In addition, you can have a blog of your own. This blog can be built by yourself, or you can register one by yourself at a place like CSDN, and then share the various bugs you encounter and what you have learned while typing code. Organize knowledge points.

When you encounter a problem, first find a way to solve it yourself, whether it’s Google, Baidu, or reading official documents. In short, try to solve it yourself first. If you can't solve it, humbly ask the experts around you or post your problem to some professional forums. There will definitely be experts who can give you some advice.

2. What should I learn about programming?

Many people may have doubts, saying, what should I learn?

I think it’s not what you study that’s the most important. What’s important is what you study so you can find a job. Do you mind?

Let me talk about my personal opinion first. First of all, you must learn Java SE well, that is, lay a good foundation for Java. Learning well at this stage will help you learn the later framework. For example, if you have a solid grasp of multi-threading, network communication, design patterns, and jdbc, you can take notes on your blog and draw mind maps.

During the interview, many interviewers will ask you about your knowledge about Java SE. It’s okay if you can’t answer one or two, but you can’t know several basic knowledge in succession. How embarrassing you think it is.

Then, learn front-end knowledge, such as HTML, CSS, Ajax, JQuery, etc. Although Java is used for back-end development, it is indispensable to interact with the front-end, so it is necessary to learn it.

In addition, when I work in the future, the beautiful girl who works on the front end will encounter a problem and come to ask you for help. You say, "Ah, such a coincidence, I don't know how to do it." At this time, your other A male colleague took a look at it and said, "Girl, I should be able to solve this problem. Why don't we discuss it after get off work?" Then I don't need to tell you the plot of the story, leaving you alone to suffer the cold wind. ..

It is also important to learn databases, such as oracle, MySQL, etc. Learn some common functions of the database and be able to write SQL statements. Based on my interview experience at that time, there were few companies that did not require writing SQL statements.

Then comes the learning of the framework. When you first come into contact with the framework, you may feel uncomfortable. The various configuration files will confuse you. Calm down and ask more questions. Just look at it. No, maybe if you follow the video or type in the book, you will have fewer problems.

Finally, take a look at the code written by the masters on the Internet and learn to imitate it. It is best to do a small project by yourself, firstly, you can apply all the knowledge you have learned, and secondly, you can accumulate project experience and prepare for future work.

The above is the detailed content of How to learn programming well. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn