Talking about JavaScript
Since this team project uses JavaScript and I'm not familiar with the language, I've learned a bit about javascript this week by surfing the web and reading books.
JavaScript is a network scripting language, has been widely used in Web application development, often used to add a variety of dynamic features for Web pages, to provide users with more smooth and beautiful browsing effect.
JavaScript has some very good ideas and a handful of bad ideas. Good ideas include functions, weak types, dynamic objects, and object literal representations. Bad ideas include a programming model based on global variables.
JavaScript's function is primarily a lexical-scoped top-level object, which is the first lambda language to become mainstream.
The JavaScript compiler cannot detect a type error, which is a weakly typed language. The use of weakly typed languages is relatively free, and there is no need to build complex class hierarchies, do not make a strong manufacturing device, or deal with type systems to get the desired behavior.
JavaScript is a very powerful method of object literal representation. By listing the components of an object, they can be simply created.
Prototype inheritance is also a feature of JavaScript. JavaScript has a system of untyped objects, in which objects inherit properties directly from other objects.
JavaScript has a bad choice: it relies on global variables to connect. All the top-level variables of all compilation units are brokered into a common namespace called global objects.
Today, the web has become a very important application development platform, and JavaScript is the only language that all browsers can recognize. This is one of the reasons that JavaScript is flawed, but we have to use it.
Week five Homework