How to get started with programming

 For non-computer majors or computer professionals, how to quickly start programming.

Compared with other industries, the entry threshold for programming is relatively high. Some people need to feel that they can already program, but they just can’t write a software or website that can run the actual application normally. Knowledge of the structure and use of codes, editors, common languages, databases, etc. So how can I get started with programming?

1. What should I pay attention to when learning programming by myself?

1) Computer system selection:

It is recommended to use the Windows system for beginners in programming. MAC and Linux systems are not recommended. At present, most applications, software, and web pages basically run under the Windows system. When buying a computer, you need to pay attention to the choice of computer system.

2) Computer configuration:

CPU: Intel i7-70000 or above.

Memory: 16G or more

Hard Disk: SSD

When buying a computer for the first time, choose a mid-to-high-end computer configuration, and the programming software consumes more CPU and memory.

2. What language is good for programming beginners?

The following programming languages ​​are recommended:

1) C++, the editor uses Visual Studio. 

download link:

Visual Studio: IDE and Code Editor for Software Developers and Teams

2) Python, the editor uses Pycharm.

download link:

PyCharm: the Python IDE for Professional Developers by JetBrains

3) Html, the editor uses VS Code.

download link:

Visual Studio Code - Code Editing. Redefined

The above is only for beginners. For programmers who already have a certain foundation, it can be extended to Java, Vue, Qt, Linux, etc.

3. In programming, what good habits are worth sticking to from the beginning?

1) Notes: Learn to make programming notes, record important and commonly used algorithms.

2) Write comments: In the process of writing code, comments are needed to explain the code function. If beginners have not developed the habit of code commenting, after a period of time, they will look at the code they have learned and find that they can’t understand the code again, so the code Comments need to develop good habits in order to gradually grasp the logic of code usage.

3) Variable and constant naming rules: Naming rules are more important in programming, and basic naming rules need to be mastered.

4. How to learn programming?

1) You need to master how to use the relevant code editor, and be able to output a basic code running result. For example: Hello Word.

Commonly used code editors:

VS Code: Suitable for Python, C++, Html languages

Visual Studio: suitable for C++, C#, Net

Pycharm: for Python

Then expand the use of functions based on the basic foundation, and gradually master common functions.

2) Commonly used algorithm experiments:

Master commonly used algorithms, and run the results through the code editor.

Sorting algorithm: Common sorting algorithms include bubble sort, selection sort, insertion sort, merge sort, quick sort, etc.

Search Algorithm: Search is the process of finding a target value in a data set.

Common search algorithms include linear search and binary search.

5. How can beginners improve their programming skills

Improving programming skills requires efforts in the following areas:

1) Write more code: Programming skills are acquired through practice and trial and error. Therefore, writing more code is the key to improving programming ability.

2) Participate in open source projects: Participating in open source projects allows you to learn programming skills and experience from other developers, and helps you learn more about programming.

3) Reading other people's code: Reading other people's code can help you understand other programmers' programming methods and ideas, and learn excellent programming skills from them.

4) Learn data structures and algorithms: Data structures and algorithms are the foundation of programming, mastering them can help you better understand and solve problems.

5) Learning new technologies and programming languages: Programming environments and technologies are constantly changing. Therefore, staying on top of learning new technologies and programming languages ​​keeps your programming skills at the cutting edge.

6) Develop good programming habits: Developing good programming habits has an important impact on programming efficiency and code quality. For example, comments, naming conventions, code formatting, etc. are all aspects worth noting.

In short, improving programming ability requires continuous learning, practice and experimentation, and maintaining a good attitude and curiosity in order to make continuous progress.

6. Programming data sharing

Programming materials can be found online to learn, here are some recommendations:

1)CSDN:

There are many codes and projects shared by experienced programmers in the CSDN blog, as well as various types of programming technical articles, tutorials and video resources. Here, you can find relevant information on various popular programming languages, such as Java, Python, C++, etc., and you can also get opportunities to communicate and learn from them.

CSDN - Professional Developer Community

2) Rookie tutorial:

This website is more friendly to beginners, and various languages, algorithms, and grammars can be found there.

Rookie Tutorial - Learn not only technology, but also dream!

3)GitHub:

There are a large number of open source projects and code resources on GitHub, which can help you understand the programming skills and experience of other programmers.

GitHub: Let’s build from here · GitHub

 

Guess you like

Origin blog.csdn.net/alicema1111/article/details/131068009