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 theFAQ Tutorialcolumn 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!