Home Common Problem What to learn first when teaching yourself programming

What to learn first when teaching yourself programming

Aug 15, 2019 am 09:24 AM
programming

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 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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Remove duplicate values ​​from PHP array using regular expressions Remove duplicate values ​​from PHP array using regular expressions Apr 26, 2024 pm 04:33 PM

How to remove duplicate values ​​from PHP array using regular expressions: Use regular expression /(.*)(.+)/i to match and replace duplicates. Iterate through the array elements and check for matches using preg_match. If it matches, skip the value; otherwise, add it to a new array with no duplicate values.

What is programming for and what is the use of learning it? What is programming for and what is the use of learning it? Apr 28, 2024 pm 01:34 PM

1. Programming can be used to develop various software and applications, including websites, mobile applications, games, and data analysis tools. Its application fields are very wide, covering almost all industries, including scientific research, health care, finance, education, entertainment, etc. 2. Learning programming can help us improve our problem-solving skills and logical thinking skills. During programming, we need to analyze and understand problems, find solutions, and translate them into code. This way of thinking can cultivate our analytical and abstract abilities and improve our ability to solve practical problems.

Build browser-based applications with Golang Build browser-based applications with Golang Apr 08, 2024 am 09:24 AM

Build browser-based applications with Golang Golang combines with JavaScript to build dynamic front-end experiences. Install Golang: Visit https://golang.org/doc/install. Set up a Golang project: Create a file called main.go. Using GorillaWebToolkit: Add GorillaWebToolkit code to handle HTTP requests. Create HTML template: Create index.html in the templates subdirectory, which is the main template.

Collection of C++ programming puzzles: stimulate thinking and improve programming skills Collection of C++ programming puzzles: stimulate thinking and improve programming skills Jun 01, 2024 pm 10:26 PM

C++ programming puzzles cover algorithm and data structure concepts such as Fibonacci sequence, factorial, Hamming distance, maximum and minimum values ​​of arrays, etc. By solving these puzzles, you can consolidate C++ knowledge and improve algorithm understanding and programming skills.

Problem-Solving with Python: Unlock Powerful Solutions as a Beginner Coder Problem-Solving with Python: Unlock Powerful Solutions as a Beginner Coder Oct 11, 2024 pm 08:58 PM

Pythonempowersbeginnersinproblem-solving.Itsuser-friendlysyntax,extensivelibrary,andfeaturessuchasvariables,conditionalstatements,andloopsenableefficientcodedevelopment.Frommanagingdatatocontrollingprogramflowandperformingrepetitivetasks,Pythonprovid

Get Go modules quickly and easily with Go Get Get Go modules quickly and easily with Go Get Apr 07, 2024 pm 09:48 PM

Through GoGet, you can quickly and easily obtain Go modules. The steps are as follows: Run in the terminal: goget[module-path], where module-path is the module path. GoGet automatically downloads the module and its dependencies. The location of the installation is specified by the GOPATH environment variable.

The Key to Coding: Unlocking the Power of Python for Beginners The Key to Coding: Unlocking the Power of Python for Beginners Oct 11, 2024 pm 12:17 PM

Python is an ideal programming introduction language for beginners through its ease of learning and powerful features. Its basics include: Variables: used to store data (numbers, strings, lists, etc.). Data type: Defines the type of data in the variable (integer, floating point, etc.). Operators: used for mathematical operations and comparisons. Control flow: Control the flow of code execution (conditional statements, loops).

Unleash Your Inner Programmer: C for Absolute Beginners Unleash Your Inner Programmer: C for Absolute Beginners Oct 11, 2024 pm 03:50 PM

C is an ideal language for beginners to learn programming, and its advantages include efficiency, versatility, and portability. Learning C language requires: Installing a C compiler (such as MinGW or Cygwin) Understanding variables, data types, conditional statements and loop statements Writing the first program containing the main function and printf() function Practicing through practical cases (such as calculating averages) C language knowledge