State
Directory actions
More options
Directory actions
More options
State
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
Define: The state pattern, which closely resembles Strategy Pattern, is a behavioural software design pattern, also known as the objects for states pattern. Usage: When the behaviour of an object needs to change based on its internal state Intent: Change behaviour of object with each state Encapsulate the logic of each state into a single object Allow for dynamic state discovery Make unit testing easier