Memento Pattern
Version 1.0.0 · Updated 2026-07-30
CORE DEFINITION
Without violating encapsulation, capture an object's internal state and save it outside the object so that it can be restored later. That is, 'save/load'.
SCAFFOLDING EFFECT
Reduce cognitive load
Decision snapshot. Before making a major decision, write down your current feelings, the data you rely on, and the expected outcome (save). Review it half a year later (load), which is the best tool for calibrating intuition and avoiding hindsight bias.
Anchor fast decisions
Without violating encapsulation, capture and externally save the object's state, supporting lossless restoration later; decouple the 'state snapshot' from the object.
MINIMUM ACTION
In progress 0/4Practice this model in one real situation:
account_treeGenealogyexpand_more
menu_bookReferencesexpand_more
Source support: Explicit
- en.wikipedia.orghttps://en.wikipedia.org/wiki/Memento_patternverified
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS