Home Common Problem How long does it take to teach yourself programming?

How long does it take to teach yourself programming?

Jun 20, 2019 am 10:45 AM
programming Self-study

How long does it take to teach yourself programming?

It takes about 2 months to self-study Java to write something small, half a year to start making something, and a year to You know everything you know, and you can basically master what you need to know. It’s easy to get started and find a job.

C language will take longer. If you are good at English, good at mathematics and logic, and concentrate on learning, then it only takes half a year or a few months to learn C language. If English is average, then one year is enough. In fact, learning programs also requires talent and a spirit of study.

C is a language with a wide range of uses. It is a superset of the C language. If you know C, it will take about three months to learn how to use C to compile some simple programs. It will take you about three months to learn more about it. It depends on continuous exploration in the process of using it. As for truly learning it, you know, many people who use this language dare not say that they have learned it. There is no best, only better.

The above is purely a personal opinion, the premise is that you have to put in a lot of effort, and you can't just fish and dry the net for two days. Therefore, this self-taught achievement is an uncertain factor. Talent and hard work determine it all.

1. Interests and Hobbies

Interest is the best teacher. If you are interested in it, all problems will not be a problem. You will try every means to do it. Specialize in research.

2. Basic knowledge

Although this can be learned, for programming, you must at least be familiar with computer operation and understand some basic principles. You won't be at a loss when it comes to understanding syntax storage. When I first learned programming, I didn't know much about some concepts or computer basics. It took me several days to understand why memory is stored in this way. So learning is very slow.

3. Career Pressure

This thing is that once you take it as the basis of food and clothing, you will be motivated to learn when you are under pressure. It is your means of livelihood and satisfaction. The basic needs of life, without or do not learn it, you will not have a better life, to a large extent you will put in more effort.

As mentioned above, if you regard programming as a career or a hobby, then you will become self-taught in a shorter and faster time than others.

Some suggestions for self-study

Suggestions 1. Read books for self-study

Self-study only means that there is no special teacher to teach you step by step, not that there are even books It’s all okay. Someone comes to me every day to ask me some very basic conceptual questions. I asked him: "Aren't these concepts clearly written in books?" He replied: "I don't have a book." If there is no book, it will be difficult for you to understand it in your mind. To form a more holistic understanding, all the knowledge learned is fragmented. Self-study programming is inseparable from books. The experiences of previous generations are recorded in them. Finding a good introductory programming book is very important for the entire self-study process.

Suggestion 2: To learn programming, you need to practice

There are books, but it’s not enough to hold them all day long. The most fearful thing about programming is talking on paper. I have seen some beginners, after reading several big books, understand the loop function clearly, but they have never even seen what a compiler looks like. Just theory without practice is equivalent to talking nonsense. If you input and run some small programs "Hello, World!" by yourself, your programming ability will be greatly improved.

Suggestion three: Programming requires thinking

Programming is a creative process. The meaning of programming is to teach the computer how to complete a task through the form of a program. Writing code is just a formality, what really matters is how to complete a specific task. It is better to learn other people's ideas than to memorize some codes written by others. Copying and pasting is a porter of code, not a creator.

Suggestion 4: Develop good habits

As the saying goes, "Don't do good deeds even if they are small." Once bad habits are formed, it will be difficult to change them. Therefore, when writing a program, you must pay attention to the indentation of the coding format, meaningful names for variables and functions, the use of upper and lower case, attention to semicolons at the end of lines, etc., and you must start from the beginning. Otherwise, a thousand-mile embankment will collapse in an ant nest.

For more technical articles related to common problems, please visit the FAQ Tutorial column to learn!

The above is the detailed content of How long does it take to teach 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

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

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 educational resources are available for self-learners on Java functions? What educational resources are available for self-learners on Java functions? Apr 29, 2024 am 09:48 AM

Self-learners learning Java functions can take advantage of the following resources: Oracle Java Tutorials and IBM Java Functions documentation provide basics and usage. Interactive environments like Codecademy and HackerRank provide instant feedback and practice. LeetCode provides high-quality algorithm problems to further test skills. Practical cases demonstrate the application of Java functions in calculating the area of ​​a circle and checking prime numbers.

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.

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

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

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.

Demystifying C: A Clear and Simple Path for New Programmers Demystifying C: A Clear and Simple Path for New Programmers Oct 11, 2024 pm 10:47 PM

C is an ideal choice for beginners to learn system programming. It contains the following components: header files, functions and main functions. A simple C program that can print "HelloWorld" needs a header file containing the standard input/output function declaration and uses the printf function in the main function to print. C programs can be compiled and run by using the GCC compiler. After you master the basics, you can move on to topics such as data types, functions, arrays, and file handling to become a proficient C programmer.