The subconscious will not use the object-oriented idea to write JavaScript code, nor will it have a deep understanding of prototype, closures, and other concepts. This leads to poor code writing.
The most important thing to learn about JavaScript is to recognize that JavaScript is not a toy language. JavaScript is far more than adding dot form verification. We can look at GMail and Google Maps,If developers do not have enough respect for JavaScript, they are unlikely to write such excellent Web applications..
The JavaScript threshold is low, but the low threshold does not mean it is easy to master. To some extent, it is easy to get started with JavaScript and its great flexibility, making it difficult to master JavaScript. In terms of pure language, my personal experience is that it is more challenging to learn JavaScript than to learn Java. Most of us are used to traditional object-oriented expressions. To some extent, we may even think that classes, encapsulation, inheritance, and other concepts have to be like Java and C ++, it may have never been thought that class, extend, override, and other concepts can also be object-oriented. The object-oriented JavaScript has broken the shackles of this kind of thinking: The world is diverse, and all things go through Rome. To put it bluntly,In-depth study of JavaScript is more of an ideological challenge.It can activate ideas, broaden our horizons, and even change our views on the world.
As mentioned above, it is not intended to exaggerate the role and difficulty of JavaScript. Everyone will emphasize more or less what they have learned, but here I hope that I can objectively pass on a point of view: No matter what language, it is not easy to be proficient;If you want to learn a language, you must respect it in your mind and learn it on the basis of respect.. In addition to JavaScript, here is an example of HTML:
You can often hear this: HTML is much easier, and it will take a day or two. I thought so myself. However, with the increasing experience in using HTML, we gradually feel that HTML is the most difficult for front-end Web development. The 91 elements in the HTML4.01 specification are the same as the 2500 common characters in Chinese characters. After reading elementary school, we should know all the common words, but we should write an excellent article with Chinese characters, but it is not easy. This is also true for HTML. Most developers who claim that HTML is very easy tend to stay on tags such as recognizing the body, p, form, table, div, and ul. For dl, legend, sub, caption and other non-Uncommon labels are not even recognized. When the commonly used words are still incomplete, it is really arrogant to claim that HTML is very easy. (The difficulty of HTML lies in how to use tags to build well-structured and semantic-rich code. Just like writing a text, you cannot think that you can be confident in understanding a few words .)
In short,The language is easy, and you must respect and attach importance to a language in your mind.It is possible to control it. Otherwise, it will always be out of the hall of professional programmers.