Quantcast
Channel: Lieven Cardoen » Undo
Viewing all articles
Browse latest Browse all 2

Memento Pattern

$
0
0
Yesterday I tried to implement Undo functionality with Command Patterns. The Memento pattern can also be used to do this. So what is the difference between the two? Well, with Memento pattern the state of an object (the originator) is being stored by a Caretaker class. So if it’s possible to Undo with returning back [...]

Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images