Hacker News new | ask | show | jobs
by wtetzner 1952 days ago
You could just append a new state to the end of the timeline when you “undo”, so you never lose history. This is how undo works in Emacs by default.
1 comments

Heck it's how boring business apps handle bookkeeping data since forever. You never delete a record to correct a mistake, you create a new record to do it.