Home > Article > Backend Development > Five Steps to Learning a Programming Language from Novice to Expert
I have been engaged in technical training for 10years and have been teaching people how to program. These people include students and developers who are already working. In my many years of working life, I have noticed some correct / wrong ways to learn programming languages. Below I will share some 5 tips for learning languages correctly. Although they seem simple, as long as they are If you implement it carefully, there will definitely be great results and improvements.
1.Understand the "philosophy" behind the language
When I first learned Java, I felt that it was lengthy and unnecessarily complicated. At that time, I was not an experienced programmer and was used to coding in C. Java is a great language, but I can't understand the essence of it - or even its purpose, because I can't understand the object-oriented principles of Java.
Later, I understood the object-oriented approach and adopted it for computer science programming in Browne’s PhD class at the University of Texas at Austin. This has played a great role in helping me better understand the core ideas and programming methods of Java.
There are thousands of programming languages today, different programming languages solve and optimize different types of programming problems, and are at different levels in computer systems. What you need to do is understand what the language you are learning is and what its goals are. Understanding is crucial and then applying it to solve real problems.
2.Enter all the code examples personally
In other words, practice is the only criterion for testing truth. To learn a language, in addition to knowing its principles, the fastest way to learn is to practice and write code, which is far greater than the effect of reading or watching videos. Entering code and getting it running is a crucial step in learning a language. Even if you are completely unfamiliar with their languages, you will discover their grammatical structures while writing and gradually understand their meanings.
In the process of writing, you will definitely make mistakes. Find mistakes and correct them. This process cannot be ignored. The more mistakes you make, the more research you will spend on it, and the deeper your understanding will be.
3.Go further
Whether you are doing experiments or exercises, try to understand and learn further. Doing this regularly will bring you endless gains and drive you to constantly look up information related to the language you are learning. Doing this has two major advantages: first, learning the document structure of the language and becoming familiar with it; second, deepening the concepts and helping you solve some minor problems.
For example, if you are listening to a class to learn how to use HTML5 and JavaScript to produce audio, then you should further ask yourself: "How to control the volume?" After solving this problem, You can master the code more deeply.
4.Learn through many small examples - not big projects
In many years of training, I have always focused on client-side web languages like Java and later Mobile development. In the classroom, each lesson will have corresponding courseware, each courseware will demonstrate some examples, and finally these examples will be combined into a project. This mistake is often made in the early stages of not isolating each other.
In fact, it is very important to learn various language skills in isolation. Integration is a more complex process than learning individual skills. After you have a solid foundation in a language, integration is indeed the best way to learn, otherwise there is a high risk of confusing concepts.
5.Let the program run
Be sure to let the program run. Even if there are multiple bugs, you must debug it carefully until it can run correctly. To open a door, you must close a door. When you learn a new language skill, you definitely want to have a higher skill level in the future. Sometimes it’s easy to give up or skip over a small flaw, leaving the problem unresolved—and that’s dangerous.
Besides, there is nothing more exciting than this - seeing the application you wrote running for the first time.
Get freeLAMPBand of BrothersOriginalPHPVideoTutorial CD/《 DetailsPHP》Concise version , please consult the official website customer service for details: http://www.lampbrother.net
PHPCMSSecondary developmenthttp://yun.itxdl.cn/online/phpcms/index.php?u= 5
WeChat Developmenthttp://yun.itxdl.cn/online/weixin/index.php?u=5
Mobile Internet Server Side Developmenthttp://yun.itxdl.cn/online/server/index.php?u=5
JavascriptCoursehttp:/ /yun.itxdl.cn/online/js/index.php?u=5
CTOTraining Camphttp://yun.itxdl.cn/online/cto/index.php ?u=5
The above introduces the five-step programming language learning method from novice to expert, including various aspects. I hope it will be helpful to friends who are interested in PHP tutorials.