Learning style determines the length of time.
The length of learning software programming depends largely on your learning style. Self-study needs more time and energy, but if you have enough self-control, self-study is a good choice. Participating in training schools can greatly shorten the study time, but we should keep our eyes open and choose a good training institution.
Choose a professional training school.
For beginners with zero foundation, it is recommended to choose professional system learning. Choose a good training school, and it is entirely possible for you to study smoothly and find a job within four months.
Professional teacher guidance
If you want to learn software programming well, I suggest you study it professionally and systematically. As long as there is a professional teacher's guidance, you can learn well without foundation. Having a complete study plan and systematic study methods can save you a lot of time.
As long as you have the determination, you can always learn
Whether you have a foundation or not, you can always learn as long as you make up your mind to learn. Just choosing different learning methods will require different time and energy.