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:
“Such writing is a sort of mental masturbation.... I dont mean that he is indecent but viciously soliciting his own ideas into a state which is neither poetry nor anything else but a Bedlam vision produced by raw pork and opium.”
—George Gordon Noel Byron (17881824)
“It is just possible that the tensions in a novel of murder are the simplest and yet most complete pattern of the tensions on which we live in this generation.”
—Raymond Chandler (18881959)