亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

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

Undress AI Tool

Undress AI Tool

Undress images for free

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.

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)

Hot Topics

PHP Tutorial
1488
72
VSCode settings.json location VSCode settings.json location Aug 01, 2025 am 06:12 AM

The settings.json file is located in the user-level or workspace-level path and is used to customize VSCode settings. 1. User-level path: Windows is C:\Users\\AppData\Roaming\Code\User\settings.json, macOS is /Users//Library/ApplicationSupport/Code/User/settings.json, Linux is /home//.config/Code/User/settings.json; 2. Workspace-level path: .vscode/settings in the project root directory

Laravel raw SQL query example Laravel raw SQL query example Jul 29, 2025 am 02:59 AM

Laravel supports the use of native SQL queries, but parameter binding should be preferred to ensure safety; 1. Use DB::select() to execute SELECT queries with parameter binding to prevent SQL injection; 2. Use DB::update() to perform UPDATE operations and return the number of rows affected; 3. Use DB::insert() to insert data; 4. Use DB::delete() to delete data; 5. Use DB::statement() to execute SQL statements without result sets such as CREATE, ALTER, etc.; 6. It is recommended to use whereRaw, selectRaw and other methods in QueryBuilder to combine native expressions to improve security

go by example generics go by example generics Jul 29, 2025 am 04:10 AM

Go generics are supported since 1.18 and are used to write generic code for type-safe. 1. The generic function PrintSlice[Tany](s[]T) can print slices of any type, such as []int or []string. 2. Through type constraint Number limits T to numeric types such as int and float, Sum[TNumber](slice[]T)T safe summation is realized. 3. The generic structure typeBox[Tany]struct{ValueT} can encapsulate any type value and be used with the NewBox[Tany](vT)*Box[T] constructor. 4. Add Set(vT) and Get()T methods to Box[T] without

python json loads example python json loads example Jul 29, 2025 am 03:23 AM

json.loads() is used to parse JSON strings into Python data structures. 1. The input must be a string wrapped in double quotes and the boolean value is true/false; 2. Supports automatic conversion of null→None, object→dict, array→list, etc.; 3. It is often used to process JSON strings returned by API. For example, response_string can be directly accessed after parsing by json.loads(). When using it, you must ensure that the JSON format is correct, otherwise an exception will be thrown.

python parse date string example python parse date string example Jul 30, 2025 am 03:32 AM

Use datetime.strptime() to convert date strings into datetime object. 1. Basic usage: parse "2023-10-05" as datetime object through "%Y-%m-%d"; 2. Supports multiple formats such as "%m/%d/%Y" to parse American dates, "%d/%m/%Y" to parse British dates, "%b%d,%Y%I:%M%p" to parse time with AM/PM; 3. Use dateutil.parser.parse() to automatically infer unknown formats; 4. Use .d

css dropdown menu example css dropdown menu example Jul 30, 2025 am 05:36 AM

Yes, a common CSS drop-down menu can be implemented through pure HTML and CSS without JavaScript. 1. Use nested ul and li to build a menu structure; 2. Use the:hover pseudo-class to control the display and hiding of pull-down content; 3. Set position:relative for parent li, and the submenu is positioned using position:absolute; 4. The submenu defaults to display:none, which becomes display:block when hovered; 5. Multi-level pull-down can be achieved through nesting, combined with transition, and add fade-in animations, and adapted to mobile terminals with media queries. The entire solution is simple and does not require JavaScript support, which is suitable for large

python property decorator example python property decorator example Jul 30, 2025 am 02:17 AM

@property decorator is used to convert methods into properties to implement the reading, setting and deletion control of properties. 1. Basic usage: define read-only attributes through @property, such as area calculated based on radius and accessed directly; 2. Advanced usage: use @name.setter and @name.deleter to implement attribute assignment verification and deletion operations; 3. Practical application: perform data verification in setters, such as BankAccount to ensure that the balance is not negative; 4. Naming specification: internal variables are prefixed, property method names are consistent with attributes, and unified access control is used to improve code security and maintainability.

python itertools combinations example python itertools combinations example Jul 31, 2025 am 09:53 AM

itertools.combinations is used to generate all non-repetitive combinations (order irrelevant) that selects a specified number of elements from the iterable object. Its usage includes: 1. Select 2 element combinations from the list, such as ('A','B'), ('A','C'), etc., to avoid repeated order; 2. Take 3 character combinations of strings, such as "abc" and "abd", which are suitable for subsequence generation; 3. Find the combinations where the sum of two numbers is equal to the target value, such as 1 5=6, simplify the double loop logic; the difference between combinations and arrangement lies in whether the order is important, combinations regard AB and BA as the same, while permutations are regarded as different;