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