Design pattern of the day – Memento

Definition and use case from (https://dzone.com/refcardz/design-patterns)

Memento is a Behavioral Pattern( Used to manage algorithms, relationships, and responsibilities between objects ) .

Purpose
Allows for capturing and externalizing an object’s internal state so that it can be restored later, all without violating encapsulation. Continue reading