Skip to content

Commit f1e8c57

Browse files
author
Dominik Liebler
committed
README State
1 parent 5e0fe54 commit f1e8c57

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

State/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# State
2+
3+
## Purpose
4+
5+
Encapsulate varying behavior fo the same routine based on an object's state. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements.

0 commit comments

Comments
 (0)