Ability to Undo an Action

Learn about the design patterns that allow undoing an action.

Problem statement

Our software needs to be able to include undo functionality, which, these days, is present in most user interfaces that allow us to edit content.

This is a problem that UI developers have been required to deal with for decades, and so, it can be solved by a number of standardized design patterns.

Suitable design patterns

Let’s discuss some design patterns suitable to be used when undoing an action. ... ...