1, How to start learning programming on a zero basis: What is your learning style?
What kind of learning style do you like best? What is the best way to learn? Is it by reading? Or attend a lecture? Or mainly through hands-on practice? You need to choose the most effective method for you. Don't choose this method just because it is popular or others have said it is very useful to them.
2. Choose a programming language
When you plan to start your programming study and consider your choice, please remember that no matter what others say, it doesn't matter which programming language you choose to start your programming study. Yes, some programming languages are more popular than others. For example, according to a survey, JavaScript, Java, PHP and Python are currently in the front row of the most popular and popular programming. However, the popular programming language may be out of date in a few years, so don't worry too much about the choice of programming language. Programming concepts and ideas such as methods, classes, functions, conditions, control flow, etc., no matter which programming language you choose, their underlying principles are basically the same. Only grammar and community best practices will change. So you can learn programming with Perl, or you can use Swift or Rust. As a programmer, you will use many different programming languages in your career. Don't think you are stuck in the choice of programming language.
Step 3 test
Unless you have set foot in this industry, or are sure that you are willing to spend the rest of your life programming, I suggest you try the water temperature with your toes before you go into the water to judge whether the water is suitable or not. This kind of work is not suitable for everyone. Before putting all your hopes on learning programming, you can try to spend a small amount of time and money to learn a small number of knowledge points and see if you will enjoy this life of spending at least 40 hours coding every week. If you don't like this kind of work, you are unlikely to finish the learning of programming projects. Even if you finish the learning stage of programming, you will feel great pain in the future programming work. Life is too short. Don't spend a third of your life doing things you don't like.
4. Reference learning materials
Professional books: Many people like to teach themselves with books. This is very economical and provides ready-made reference materials after the initial learning stage. Although you can order and access books through online services such as Safari and Amazon, don't forget to check the local public library.