Programming Languages (CS302 2007S)

Class 19: Basics of Object-Oriented Programming

Back to Continuations and Web Servers. On to Growing a Language.

This outline is also available in PDF.

Held: Monday, March 5, 2007

Summary: Today we begin our exploration of object-oriented programming.

Related Pages:




What is object-oriented programming?

Three key issues: Encapsulation, Inheritance, Polymorphism

Why OOP?

A Biased History

Sam's grounding quote (emphasis mine) from Nygaard and Dahl

The principle extensions which convert ___ to ___ provide the ability to:
1. Declare a class
2. Generate objects of the declared class
3. Name the generated objects
4. Form a hierarchical structure of class declarations

Polymorphism vs. Overloading.

Back to Continuations and Web Servers. On to Growing a Language.

Disclaimer: I usually create these pages on the fly, which means that I rarely proofread them and they may contain bad grammar and incorrect details. It also means that I tend to update them regularly (see the history for more details). Feel free to contact me with any suggestions for changes.

This document was generated by Siteweaver on Sun Apr 29 11:26:18 2007.
The source to the document was last modified on Tue Jan 16 13:34:43 2007.
This document may be found at

You may wish to validate this document's HTML ; Valid CSS! ; Check with Bobby

Samuel A. Rebelsky,