The state pattern, which closely resembles Strategy Pattern, is a behavioral software design pattern, also known as the objects for states pattern. This pattern is used in computer programming to represent the state of an object. This is a clean way for an object to partially change its type at runtime.
Famous quotes containing the words state and/or pattern:
“While the State becomes inflated and hypertrophied in order to obtain a firm enough grip upon individuals, but without succeeding, the latter, without mutual relationships, tumble over one another like so many liquid molecules, encountering no central energy to retain, fix and organize them.”
—Emile Durkheim (18581917)
“Art is the imposing of a pattern on experience, and our aesthetic enjoyment is recognition of the pattern.”
—Alfred North Whitehead (18611947)