Week 8 Discussion/Lab Notes
- Midterm 2 is next week (3-15). Once
again, it's a week later than usual, so keep this in mind when
looking at past exams.
- Part 1 of Project 3 is due Monday of next
week (3-13).
- As before, I'll try to spend most of discussion next week answering
questions.
- Please fill out a course evaluation if you haven't done so already.
Extra copies are in the lab.
Discussion Outline
- hw5
- 2.29 mobiles
- respect the data abstraction!
- what are the contracts to your procedures?
- do mental type-checking
- last week:
- this week:
- below-the-line OOP
- exact implementation details aren't important, but understand the idea (MP)
- environment diagramming
- why?
- to understand how programming languages behave
- substitutional model is no longer valid
- scope
- local state
Here are my notes on drawing environment diagrams
in PDF format. They contain instructions, examples, and exercises.
If you're still uncomfortable with environment diagrams after reading my
notes, check out Benson Limketkai's notes.
(And also please let me know
what parts of my notes were confusing!)
Last Modified: Tuesday, 30-Dec-2014 11:58:34 PST