The most rotten programming language winner: JavaScript

Source: Internet
Author: User

C + + In my mind has always been a lack of design and vision of the language, the designer is also a lack of ideas (I admit that I have a certain bias against C + +), in my opinion, C + + from the beginning is the stacking language features, become the most popular language, but this era has pushed it to the forefront, The worst language in my heart has been sitting in its place for a long time. Knowing that one day, I began to touch JavaScript.

It is also a language that has never seen a more chaotic, congenital disorder than JavaScript. Likewise, the development of this era, the wave of the internet, it has pushed it to the highest peak, I as an atheist + objective ability to win the believer, in the face of many facts, finally have to admit: in the end is the Times to make heroes, rather than heroes to create the Times.

Here's a list of one or two:

1. Scope

1.1. Function scope

1.2. Lexical scopes

1.3. Global scope: VAR and default global

2. Classes and objects and functions, objects and prototypes are confusing.

3.for (x in xs) defects

The essence of 4.arguments.

5.4 modes called by the constructor: The meaning of this is different.

6. Inheritance and constructors

7. Interpreter Design problem: Return line automatically add ";"

---to add.

Reference:

1. "Javascript:the Good Parts"

2. The node. JS Development Guide

3.http://blog.meloncard.com/post/12175941935/how-one-missing-var-ruined-our-launch

4.http://coolshell.cn/articles/7480.html

5.http://nqdeng.github.io/7-days-nodejs/#5

The most rotten programming language winner: JavaScript

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.