topical media & game development
Instructor's Guide: Idioms and Patterns
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.
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.
As possible subjects for a paper, I suggest
- some selected patterns
- the application of patterns in actual software
- the handler/body idiom
A solid grasp of the basic mechanisms
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.
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.