Memento Pattern: State Snapshot and Restore
The Memento pattern solves a deceptively simple problem: how do you save and restore an object’s state without tearing apart its encapsulation? You need this capability constantly—undo/redo in…
Read more →