Home > Common Problem > body text

How to teach yourself to be a programmer

步履不停
Release: 2019-06-13 15:40:51
Original
14190 people have browsed it

How to teach yourself to be a programmer

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.

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.

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 are needed for the things you want to develop. For example, java is required to develop Android, and asp.net or php is required for websites. 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 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, short periods like 25 minutes are easier to stick to and don’t cause much stress.

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 indeed a skill to quickly improve your coding skills.

4, Looking for mentors and helpful friends

5, Writing technical articles

If you have learned a new programming concept but 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.

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 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 confidence to those friends who are still struggling on the road of self-study

Recommended tutorial:php programming from A complete set of video tutorials from beginner to master

The above is the detailed content of How to teach yourself to be a programmer. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!