Home  >  Article  >  What to learn first when teaching yourself programming

What to learn first when teaching yourself programming

angryTom
angryTomOriginal
2019-08-15 09:24:5226615browse

What to learn first when teaching yourself programming

Preface

As we all know, programmer is a popular job in the 21st century. Programmers have high salaries and do not need to deal with complex society. So as a zero-level person who doesn’t know anything, how can he become a programmer? What do you need to learn to be a programmer? Let’s analyze it below.

What to learn first when teaching yourself programming

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 have only half-understandings in reading books because they do not have relevant basic knowledge. Because there are different languages ​​and different development environments, if you don’t understand them, the book you buy may not be suitable.

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 of constant learning. You need to spend a certain amount of time every day besides work to understand the principles of new technologies or the technologies you are using. , Only in this way can we keep improving, otherwise, we may be eliminated.

After you understand the code, you also need to understand the logic, which means you need to 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 doing 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 is c. If you don’t learn well, you are just getting started. I think C, Java, and Python are all good introductory languages. For books, you can directly go to Baidu ---- introductory books.

What to learn first when teaching yourself programming

## Then, while learning about programming, you can understand what you want to develop. What technologies are required? For example, Java is required to develop Android, and http://asp.net or php is required 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 way to develop a skill is to integrate it into our lives and make it a 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!

What to learn first when teaching yourself programming## Then start with small things. If I decide to start running, I will only ask myself to run two or three times a week at first. sky. 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 need to be exhausted in one breath 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, short periods like 25 minutes are easier to stick to and don’t cause much stress.

What to learn first when teaching yourself programming

# However, this method should be combined with more flexible execution ideas. 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 indeed a skill to quickly improve your coding skills.

4. Find mentors and helpful friends

5. Write technical articles

If you learn a new programming concept, But if you are not sure whether you have truly mastered it, you can write a technical blog post to test it. 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.

What to learn first when teaching yourself programming

#6. Stay 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 master~

##Summary Having said so much, it can be regarded as a microcosm of my self-study to find a job. I hope to bring some benefits to those friends who are still struggling on the road of self-study. A little confidence.

The above is the detailed content of What to learn first when teaching yourself 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