Home  >  Article  >  0What to learn first when learning programming?

0What to learn first when learning programming?

(*-*)浩
(*-*)浩Original
2019-05-17 16:33:1414708browse

How should I learn with zero foundation?

If you want to be a programmer and have no foundation, buying books and self-study is one way. However, most people will not understand the book because they have no relevant basic knowledge, because there are different Different languages ​​and different development environments, when you don’t understand them, the book you buy may not be suitable.

0What to learn first when learning programming?

The quickest way is to sign up for a training class, systematically learn the basic knowledge, then choose a development direction, and then buy some specific books to study.

When you encounter a problem that you don’t understand, try to go to Baidu or Google as little as possible to find the answer directly. Instead, go to various forums or official websites to understand the underlying principles, and then think about solutions, so that you can know You know why.

Programmer is a position where you are constantly learning. In addition to work, you need to spend a certain amount of time understanding the principles of new technologies or the technologies you are using every day, so that you can continue to improve. Otherwise, you may be eliminated. .

After you understand the code, you also need to understand the logic, which means you must be familiar with the field and industry you are engaged in. For example, if you are engaged in education, you must be familiar with the business of the education industry. If you are engaged in finance, you must be familiar with the business. You must be familiar with financial logic so that you can write good code.

What should you learn first?

I think you can choose a simple language to learn first, so that you can have a preliminary understanding of programming. The first language I learned was c. I was not good at it, so it was just a beginner. Getting Started in. I think C, Java, and Python are all good introductory languages. For books, you can directly go to Baidu ---- introductory books.

Then while learning about programming, you can also understand what technologies you need to develop the things you want to develop. For example, you need to use java to develop Android, and http://asp.net or php for the website. After a detailed understanding, what you need is to constantly supplement the things you don't understand. I don’t think there is any need to worry about choosing a first language for too long. Personally, I didn’t even know what object-oriented programming was when I first learned programming. I had no way of knowing what technology I really needed and how to choose it. Woolen cloth?

I think the most important thing is to choose a language and start learning it as soon as possible!

Six suggestions for self-taught novice programmers

1. Make programming a habit

The best thing to do if you want to develop a skill The best way is to integrate it into our lives and make it our hobby. In fact, to put it bluntly, it is to make this hobby a habit. If you don't do it for a day, you will feel that something is missing. Before you know it, this habit will snowball.

For me, the first thing to develop this habit is to say no to "procrastination". For example, when you want to exercise your writing skills, but you don’t have a good-looking book, good inspiration, or a quiet environment... In short, you just find various reasons to put it off again and again, and finally give up. But if you think about it carefully, once you have a good-looking book and a comfortable environment...will you be able to write good articles? No! Let me tell you very clearly that the foundation of the article is formed as you continue to accumulate it. So, when we decide to do something, please do it immediately! immediately! Take action now!

Then start with small things. If I decide to start running, I will only ask myself to run two or three days a week at first. Although it seems to have low requirements, this approach is easier to stick to for a long time and will not be easily disturbed by other factors.

The same idea also applies to learning programming. Spend a few days a week and a few hours a day, and your programming learning will slowly get on the right track. If you feel that you are not in the mood to read programming textbooks, it doesn't matter. Technical lectures on video websites can play the same role.

2. Split the work into small pieces

When it comes to programming work, we don’t have to be exhausted like fitness freaks. Instead of directly programming for 2 hours, we can do it for 25 minutes, then rest for 5 minutes, and repeat the whole process 4 times. Obviously, a short period of 25 minutes is easier to stick to and will not bring much pressure. However, this method should be combined with a more flexible execution idea. If you're feeling great and you've just finished your warm-up at 25 minutes, keep going and try to get yourself there.

In addition, I would like to recommend the Tomato Work Method to everyone. This is a good mechanism for learning new skills, so I recommend you to understand it carefully.

3. Read other people’s code

After several years of programming learning, I think the best way to improve your coding level is to read more and write more. However, reading other people’s code is also It is indeed a technique to quickly improve your coding skills.

4. Find mentors and helpful friends

5. Write technical articles

If you have learned a new programming concept but are not sure whether you have truly mastered it, you can write technical articles Blog post to check. Firstly, you can improve your programming level, and secondly, you can also increase your popularity, and you will have more opportunities than others to find a job in the future.

6.Be patient

For life, the realization of any goal is inseparable from patience. Learning to program, like any other learning task, requires repeated effort and a large investment of time.

In this process, you will definitely experience highs and lows - don't let these curves affect your mood. Accept what has happened and try to avoid the bad parts of it as much as possible. Just like playing golf, our feel is always fluctuating, but as long as you persist to the end, you will eventually become a great player~

The above is the detailed content of 0What to learn first when learning programming?. 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
Previous article:How to save .py in pythonNext article:How to save .py in python