Home Common Problem How to learn programming well

How to learn programming well

Jun 14, 2019 pm 01:38 PM
programming

How to learn programming well

1. How to learn programming

First, take a look at Baidu Encyclopedia’s definition of programming language:

Programming is the Chinese abbreviation of programming, which is the process of letting a computer solve a certain problem on its behalf, specifying a certain calculation method for a certain computing system, making the computing system run according to the calculation method, and finally obtaining the corresponding results.

It is a standardized communication skill. Any language exists for communication, and programming language is no exception. The only difference is that the communication object of programming language is a computer. The computer itself has no thoughts, but we use some "language" that it can understand to let it do things for us.

Computers are very obedient. If you want to do anything, you only need to use programming language to tell it how to do each step. The reason why bugs appear in programming is because it cannot find itself in the process of progress. It cannot understand what it needs or what you tell it to do, and the computer will stop unhappy.

Okay, back to the topic, how to learn programming language? Is it better to learn it by yourself or go to a training institution?

Actually, this question depends on you. If you usually have plenty of time and have strong self-control, of course you can study by yourself, but there will be some problems with self-study. For example, what should you do if you encounter problems and bugs during the learning process? solve? Can I persevere?

Of course it is possible to study in a formal training institution, but if any institution says that it will provide teaching and distribution, and if you can’t find a job, you will not be charged tuition. In this case, I suggest you not to test the waters. There is no such thing as heaven It's a good thing that the pie is lost, and formal training institutions will only recommend you for employment, but will not guarantee employment, so bear in mind.

In addition, when you start to get started, you can read some classic programming language books, which you can search online by yourself. For example, if you want to learn Java, you can go to Zhihu and search which books you should read to learn Java by yourself. Of course, I personally prefer to watch some videos to learn simultaneously, which can give people a more intuitive feeling.

Also, no matter how powerful the program is, it can only be typed out bit by bit. You may think it is very simple when you see other people typing out the code by dividing it by three, five, and two. However, you must never be too ambitious and have too little power. You have to do it yourself. In addition, you can have a blog of your own. This blog can be built by yourself, or you can register one by yourself at a place like CSDN, and then share the various bugs you encounter and what you have learned while typing code. Organize knowledge points.

When you encounter a problem, first find a way to solve it yourself, whether it’s Google, Baidu, or reading official documents. In short, try to solve it yourself first. If you can't solve it, humbly ask the experts around you or post your problem to some professional forums. There will definitely be experts who can give you some advice.

2. What should I learn about programming?

Many people may have doubts, saying, what should I learn?

I think it’s not what you study that’s the most important. What’s important is what you study so you can find a job. Do you mind?

Let me talk about my personal opinion first. First of all, you must learn Java SE well, that is, lay a good foundation for Java. Learning well at this stage will help you learn the later framework. For example, if you have a solid grasp of multi-threading, network communication, design patterns, and jdbc, you can take notes on your blog and draw mind maps.

During the interview, many interviewers will ask you about your knowledge about Java SE. It’s okay if you can’t answer one or two, but you can’t know several basic knowledge in succession. How embarrassing you think it is.

Then, learn front-end knowledge, such as HTML, CSS, Ajax, JQuery, etc. Although Java is used for back-end development, it is indispensable to interact with the front-end, so it is necessary to learn it.

In addition, when I work in the future, the beautiful girl who works on the front end will encounter a problem and come to ask you for help. You say, "Ah, such a coincidence, I don't know how to do it." At this time, your other A male colleague took a look at it and said, "Girl, I should be able to solve this problem. Why don't we discuss it after get off work?" Then I don't need to tell you the plot of the story, leaving you alone to suffer the cold wind. ..

It is also important to learn databases, such as oracle, MySQL, etc. Learn some common functions of the database and be able to write SQL statements. Based on my interview experience at that time, there were few companies that did not require writing SQL statements.

Then comes the learning of the framework. When you first come into contact with the framework, you may feel uncomfortable. The various configuration files will confuse you. Calm down and ask more questions. Just look at it. No, maybe if you follow the video or type in the book, you will have fewer problems.

Finally, take a look at the code written by the masters on the Internet and learn to imitate it. It is best to do a small project by yourself, firstly, you can apply all the knowledge you have learned, and secondly, you can accumulate project experience and prepare for future work.

The above is the detailed content of How to learn programming well. 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.

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

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.

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