Introduction to JavaScript Fall 2011 Class 11

Jump to: navigation, search

Back to Introduction to JavaScript Fall 2011

Contents

Object Oriented Programming

Objected Oriented Programming is a different approach to how you solve problems with your code.

In my experience, it takes a fair amount of time and experience to really soak in the concepts of OOP.

I don't want to dive too deep into the subject in this intro level course, but I do want to touch on some of the principals today.

XKCD: The General Problem

XKCD: The General Problem

Additional reading for those that are interested

MDN intro to JavaScript OOP

Douglas Crockford on Prototypl Inheritance

Why not to try and inherit from DOM elements

Homework

Project 2 - deliverable 4

Project 2 - deliverable 4