Retrieved from ""

The State Pattern


2009-06-09, Dept. of Computer Science, University of Hamburg

The State Pattern

This talk was held by Janina Nemec and me in the "Concepts of object-oriented programming languages" course by Axel Schmolitzky and Christian Späh. It was not an ordinary talk, but a 120 minute teachlet.

We guided the participants through solving a software design problem using the "state" design pattern. This was, in teachlet tradition, accomplished by offering them a clear-cut problem and discussing several possible solutions, before talking about the state pattern and finally live implementing the solution together.

We slightly exceeded our planned time for the teachlet, but the immersion worked so well that hardly anybody noticed.



Please DO NOT enter anything into the next three fields, they are used as bait for automated entries. If any of the following fields is not left empty, the comment will not be saved!

End of protection - from here on, you can safely enter data.

Comments may be formatted using Markdown.

emphasis *emphasis* or _emphasis_
strong emphasis **strong emphasis** or __strong emphasis__
new paragraph insert an empty line


> quote
  • unordered
  • list
* unordered
* list
  1. ordered
  2. list
1. ordered
2. list
weblink [weblink](
Note: You can only post weblinks if you are authenticated via OpenID.
More and longer examples are available at Daring Fireball.
No comments yet.