Lecture overview -- Keyboard shortcut: 'u'  Previous page: An example of virtual methods -- Keyboard shortcut: 'p'  Next page: Imperative Programming [Section] -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Help page about these notes  Alphabetic index  Course home  Lecture 3 - Page 11 : 43
Programming Paradigms
Simulation of other Paradigms and Continuations
Summing up: Simulation of OOP in Scheme

What have we learned?

  • Closures can serve as objects

  • Functions can serve as classes

    • The tricks is the dispatcher

  • A sequence of object parts may be used to represent inheritance

    • The trick is to arrange for virtual methods

  • Even more can be achieved

    • See my report on Simulation of OOP in Scheme

Do not necessarily use OOP simulation for handling of concept in your real-life Scheme programs.