Retrieved from ""

The state pattern


2010-08-25, Dept. of Computer Science, University of Hamburg

The state pattern

This talk was held for a group of participants of the software development practical course of 2010. Because none of the participants chose design patterns as the topic of their talk, I was invited to fill the gap.

After a short summary of the general idea of object-oriented design patterns (which the participants should already know from their previous courses), I introduced and explained the state pattern using a small example.



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.