Programming basics (loops, flow control, primitive data types, OOP, etc.)
Lecture #1
of JavaScript
Back to 1995
Browser War I
Microsoft vs Netscape
Internet Explorer vs Navigator
Control of the Internet
Netscape no longer exists
IE must die!
Brendan Eich
JavaScript creator, Mozilla founder
First version of JavaScript was created in 10 days
May 6-15, 1995
First introduction and deployment in September 1995
Evolution of name
First name: “Mocha”
September 1995: “LiveScript”
December 1995: “JavaScript”
June 1997: ECMA-262 Ed. 1, aka ES1
ECMAScript
If you don't like Java, you can use C#, Ruby, Python and so on
but if you don't like JavaScript
Shut Up and Code!
ECMAScript dialects
Javascript
CoffeeScript
TypeScript
...
JScript
Action Script
...
JavaScript: The assembly of the Web
ECMAScript Philosophy
“don’t break the web”
No version (like python 2 and 3).
No breaking changes. (not removing features and not changing features)
Fully backwards-compatibility.
ECMAScript versions and our course
ES3 (1999)
ES4 (2008)
ES5 or ES3.1(2009)
ES6 (2015)
ES 6
ECMAScript Harmony
ECMAScript.next
ECMAScript 6 (or ES6)
ECMAScript 2015
Meanwhile...
SpiderMonkey is the code name for the first JavaScript engine
V8 uses JIT (just-in-time) compilation to directly emit machine code at runtime.
Open source.
1,5+ mln lines of code
JavaScript was designed to be simple...
"JavaScript is a prototype-based scripting language that is dynamic, weakly typed and has first-class
functions. This mix of features makes it a multi-paradigm language, supporting object-oriented,
imperative, and functional programming styles."