How to get started programming? I do not know anything

Programming is a skill. In theory, it is similar to other skills learning methods. It is mainly practice. However, note that there is a programming thinking thing in programming. You must use this thinking to understand, otherwise, it is No way.

Practice programming thinking

This feeling is like the second pulse of Ren Du in a martial arts novel. After programming thinking, you start to get started. It is like your foundation. As for other languages, you build a house on it. I remember when I was a freshman in programming, I only passed the half-term exam. It was because of programming thinking that everyone's brain could not be turned. By the way, if you have a good foundation in mathematics, there is a bonus here. It does n’t matter if the foundation is not good. Slowly, while programming, you will also improve your math skills.

Now that the Internet is more developed and there are a lot of materials, you can find a few articles on programming thinking. The language is not limited.

Choose a language

I was a university twenty years ago, so the introductory language was C. If you are not from the undergraduate course, I do n’t think you should choose C. The undergraduate course teaches many languages. I counted, and I learned no less than seven. Eight languages ​​are not very practical, and some are eliminated. You can choose the hottest language at the moment. Personally suggest Python. If you learn Python, even if you are not doing programming work, it can also be your assistant.

Of course, if you are more interested in web development, you can also learn JavaScript.

If you are studying, you can read books and check materials online, but for novices, it is better to watch videos directly. Basic videos are basically free of money. You can go to Muyu.com to search for basic videos and write code while watching videos. Remember, programming is an engineering job, you must write code, if you don't write it, forget it after reading it.

Start a project

After language learning, it does not mean that you can program. You may write a few lines of code, or some gadgets, but to do a project, you need to master a language ecosystem, and the ecosystem needs to find a direction.

Let me give you an example of Web direction. If you want to do Web front-end development, you have to know

  1. What is HTML, CSS, JavaScript
  2. What is ES6, 7 etc
  3. What is NPM, Node.js
  4. What is modularity, what is componentization, what is functional programming
  5. What is React, what is Vue, etc.

Of course, these can be what you know after you finish the project, or you can buy a professional book with a system, yes, you only start your growth path after you start the project. At this time, you have to start reading. . If you do n’t like reading, it ’s really not suitable for programming. What programming really embodies is called lifelong learning.

If you do n’t have a better project, I suggest that if you learn JavsScript ’s Web-oriented programming, I suggest you try it as a Web version of ToDO. A relatively simple, but can involve many aspects of the project, there are many examples on the Internet, you can Learn while doing.

If it is Python, I suggest you first do a reptile project, make a tool like a movie station, crawl some data, and experiment.

Perseverance

The last is to continue to insist, you will encounter a lot of problems, these problems, you must go to Google and StackOverflow, and then often flip through some of the code of others on Github, basically began to grow.

Guess you like

Origin www.cnblogs.com/wyw678/p/12735606.html