diff --git a/State/README.md b/State/README.md new file mode 100644 index 0000000..97daa28 --- /dev/null +++ b/State/README.md @@ -0,0 +1,5 @@ +# State + +## Purpose + +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.