Talk about mastering the thought premise of JavaScript language want to learn JS friend can see _ basic knowledge

Source: Internet
Author: User
The subconscious also does not use object-oriented thinking to write JavaScript code, and rarely to in-depth understanding of prototype, closures and other concepts. This causes the writing code to be very often bad.

Perhaps the most important thing about JavaScript learning is that JavaScript is not a toy language. JavaScript's role is much more than adding point form validation, we can look at Gmail, look at Google Maps, If developers do not have enough respect for JavaScript, it is not possible to write such a good Web application。

JavaScript thresholds are low, but low thresholds do not mean easy mastery. To some extent, JavaScript is easy to get started with and its great flexibility makes it difficult to master JavaScript. In plain language, my personal experience is that learning JavaScript is more challenging than learning Java. Most of us are accustomed to the traditional object-oriented approach, to some extent, even think of class, encapsulation, inheritance and other concepts are like Java, C + +, may have never thought of no class, extend, override and other concepts can also be object-oriented. JavaScript's object-oriented has broken the ideological shackles: the world is diverse, all roads lead to Rome. Exaggeration to say that
        above, it is not intended to exaggerate the role and difficulty of JavaScript. Everyone will more or less emphasize the knowledge they have learned, but here, I hope that I can be very objective to convey a point of view: No matter what language, want to master, is very difficult;
        can often hear this: how easy HTML is, and it takes a day or two to get it. I thought so myself. But with the growth of HTML experience, it slowly feels that HTML can be the hardest for Web front-end development. The 91 elements in the HTML4.01 specification are like the 2,500 characters in the Chinese character, we have read the common words after primary school, but it is not easy to write an excellent article in Chinese characters. HTML is also the case, most of the claims that HTML is very easy to developers, often only stay in the understanding of the body, p, form, table, Div, UL and other labels, for DL, legend, Sub, caption and so on are not uncommon label even do not know. In the case that the commonly-known characters are not fully recognized, it is very easy to declare HTML, really arrogant. (The difficulty of HTML is how to use tags to build a good structure and rich in semantics of code, like writing a composition, can not think that a few words of confidence can be wonderfully.) &NBSP

        in short, language is not easy, it is important to value a language from the ideological respect, it is possible to ride it, otherwise, Will never stray beyond the palace of a professional programmer.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.