Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Ask HN: What are the best guides/resources for implementing Undo/Redo in an app?
2 points
by
flybayer
on Nov 4, 2019
|
hide
|
past
|
favorite
|
2 comments
strangecasts
on Nov 4, 2019
|
next
[–]
Game Programming Patterns happens to have a good summary of the command pattern which also deals with undo/redo:
http://gameprogrammingpatterns.com/command.html
FroshKiller
on Nov 4, 2019
|
prev
[–]
That's a very broad question that I imagine depends very much on the particulars of the application. A basic undo/redo approach is described in the Command pattern chapter of Design Patterns.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
http://gameprogrammingpatterns.com/command.html