HackSkill 7d8b6a32d6 Update README.md
Adding a missing 'r'.
2013-10-12 22:05:23 +02:00

236 B

State

Purpose

Encapsulate varying behavior for 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.