Self-study programming should: 1. Learn Python first. The basic syntax content of Python is relatively simple, and you can quickly understand the thinking habits of programming; 2. Read the basics of programming in freshman 10 and learn basic programming courses; 3. You need to use your brain and hands more, and type the codes in the book diligently; 4. Learn to take notes and understand the code.
Self-taught programming should:
1. It is recommended to learn Python. The basic syntax of Python is relatively simple. You can quickly understand the thinking habits of programming and get access to Python GUI libraries (such as Tkinter) quickly. It is easy to use these libraries to develop some interesting programs. At the same time, Python's indentation format is also relatively strict, which is also very good for programming beginners to develop a good coding habit.
In the United States, there are many books about Python for beginners, which are aimed at teenagers in primary school and junior high school, such as "Python for Kids". A big feature of these books is that they include pictures and text, and graphics are quickly introduced. Through the study of library, children are taught to make some graphics and simple games, such as drawing stars and pinball. The advantage of this is to stimulate children's interest in learning programming and allow children to feel the charm of programming from an early age.
Relevant learning recommendations: python video tutorial
2. Learn programming with basics from freshman year 10
The first task is to learn the basic operations of the computer, become familiar with the keyboard, and give yourself a preliminary understanding of the computer. As for students majoring in science and engineering, it is estimated that they will be taught similar courses such as "Introduction to Computer Science" in their freshman year. If they want to program as soon as possible, students should read the content of this book as soon as possible to give themselves an overall understanding of computers.
If first-year students want to learn C language systematically
, it is recommended to use "C Primer Plus". Students who are good at English can read the English version directly. Please note that this book is not "C Primer" , "C Primer" can be watched when you have a certain foundation in C language learning. After learning "C PrimerPlus", you can learn about algorithms. If you have the energy, you can read "Introduction to Algorithms". You can usually go to github to directly read the source code, which will make you progress faster than simply reading a book.
3. When newbies learn programming, they must not just watch and do it, they must use their brains and hands at the same time, and they must diligently type the codes in the book.
It is worth noting that programming is a relatively broad concept. There are several programming languages. Therefore, if you want to learn computer language, you must first understand the development history of language and the role of various languages in different fields. It is recommended to learn C first. /C, this computer language is a relatively simple and well-developed computer language. In addition to the first, there are basic, C#, java, etc. Before C, there were more primitive computer languages.
4. Learn to take notes
Many people have to remember many things in the past when they first start learning programming. In fact, this is the wrong approach.
There is no need to remember these codes. Understanding the code is more important than remembering the code. Here we can understand what the code is used for. If you forget it when you use it later, just look back and know where to look for the answer. This is one of the important ideas in learning: knowing where to look for the answer is more important than remembering it.
Related recommendations: Programming video course
The above is the detailed content of Where to start learning programming by yourself?. For more information, please follow other related articles on the PHP Chinese website!