60 likes | 175 Views
Welcome to ITA341(b) Client-Side Scripting and Design. Jon Robinson James Donaldson. Featuring JavaScript. Create in 1995 by Brendan Eich while working for Netscape on the Netscape Navigator web browser. Originally named Mocha, renamed to LiveScript and finally renamed to JavaScript.
E N D
Welcome to ITA341(b)Client-Side Scripting and Design Jon Robinson James Donaldson
Featuring JavaScript • Create in 1995 by Brendan Eich while working for Netscape on the Netscape Navigator web browser. • Originally named Mocha, renamed to LiveScript and finally renamed to JavaScript
JavaScript was a rush job • “JS has a lot of stupid in it. News at 11” - Brendan Eich • “JS had to ‘look like Java’ only less so, be Java's dumb kid brother or boy-hostage sidekick. Plus, I had to be done in ten days or something worse than JS would have happened.” - Brendan Eich
(Some of) The Bad • Global variables • Math precision • Phony arrays
(Some of) The Good • Loose typing • Object literal notation • Dynamic objects - Prototypeing
JavaScript is tool • Our goal is to learn to program. Since we are using JavaScript to take the first step, we also need to learn to use it properly.