topical media & game development
object-oriented programming
Instructor's Guide: Idioms and Patterns
Rationale
This chapter introduces the basic
mechanisms of object-oriented programming, in particular
some idioms and patterns that will likely occur
in actual system develpment.
This chapter does require some experience with
object-oriented programming, in Java or C++.
Most of the code snippets are fairly simple,
and are meant for illustration only.
Hints
The treatment of the examples
requires at least
some knowledge of Java and C++.
This is a good moment to present the material in the appendices.
Project assignments
As possible subjects for a paper, I suggest
- some selected patterns
- the application of patterns in actual software
- the handler/body idiom
Comments
A solid grasp of the basic mechanisms
of
object-oriented programming, including idioms and patterns,
is necessary to fully
appreciate the more abstract concepts
underlying object oriented modeling.
In my experience, students like the simple example programs.
I advise them to try the programs and to experiment
with some simple modifications.
(C) Æliens
04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.