Wednesday, January 19, 2011

Task 1:

The video gives us an insight into the following:-

Introduction:-
Javascript(JS) is one of the most widely used programming languages in the world used in various platforms. There are lots of misconceptions associated with it including JS being a subset of Java, it not being a complete programming language and that it makes browser scripting difficult. However, JS did suffer from a few problems like faulty implementation(though most of them have been corrected). Lastly, JS is a functional language.

History of Javascript:
In 1992, Oak developed at Sun was later turned into Java. Netscape later developed Livescript (later renamed Javascript) for browser scripting. Microsft developed their own implementation of JS called JScript. ECMA later decided the standard for JS.

Key Ideas in Javascript:
  • Load and go delivery-program delivered to execution site as source code
  • Loose Typing-any variable can receive any type of value!!!
  • Completely dynamic objects
  • Protoypal inheritance- objects inherit directly from other objects, no classes required
  • Lambda-use of functions as first class objects
  • Linkage through global variable- separate compilation units combined in a single space.however, this feature causes security problems,etc
Javascript Values:
Numbers, Strings, Boolean, Objects, null, etc are discussed. Some functions like Number, parseInt, math functions, string functions are touched upon. Identifiers and reserved words used in the language are also discussed. We also learn about the various types of operators like arithmetic, comparison, logical, bitwise, ternary.



No comments:

Post a Comment