Ned Batchelder <ned at nedbatchelder.com>: > I would find it much clearer to not use a nested class at all, and > instead to pass the object into the constructor: Nested classes are excellent and expressing the state pattern <URL: http://en.wikipedia.org/wiki/State_pattern>. Marko