Why it's good:
A common need in stateful applications (especially UIs, games, or complex business processes) is the ability to revert or replay state changes.
Thoughts:
- Command Pattern: The
Shell could internally manage a history of "commands" (which could be the results of Ruleset calls).
- Memento Pattern: Allow the Shell to take "snapshots" of its state and revert to them. Since our core aim is immutability in its processing, the state objects themselves should lend well to snapshotting.
Why it's good:
A common need in stateful applications (especially UIs, games, or complex business processes) is the ability to revert or replay state changes.
Thoughts:
Shellcould internally manage a history of "commands" (which could be the results ofRulesetcalls).