Title | Refactoring State Machines |
Publication Type | Conference Paper |
Year of Publication | 2007 |
Authors | Rieger, M, Rompaey BV, Demeyer S |
Conference Name | Sixth Nordic Pattern Languages of Programs Conference (VikingPloP) |
Date Published | sep |
Abstract | State machines are a common way of representing a variety of problems in computer science. For certain implementations of state machines, e.g. switch-statements, unattended growth can lead to overly complex and unmaintainable code. This paper presents a small, code-level pattern language which assists a maintainer in the different tasks of identifying, recovering, and refactoring of state machine implementations with the goal of applying some of the well known idioms and patterns that have been developed for the procedural and the object-oriented paradigm. |