Chapter 6 / undo and redo

8 views
Skip to first unread message

Pierre Arnaud

unread,
Dec 22, 2025, 2:47:35 PM (3 days ago) Dec 22
to software-d...@googlegroups.com
I’m following along and would like to point out that the discussion on undo/redo should definitely talk about immutable data structures, which provide much cleaner ways to handle undoability. If you didn’t yet read Eric Lippert’s ongoing book:


Envoyé de mon iPhone

Philippe

unread,
Dec 22, 2025, 4:59:39 PM (3 days ago) Dec 22
to software-d...@googlegroups.com
I’m following along and would like to point out that the discussion on undo/redo should definitely talk about immutable data structures, which provide much cleaner ways to handle undoability. If you didn’t yet read Eric Lippert’s ongoing book:

Yes and no.
• Yes, because this is exactly what I use, and it’s fantastic for undo/redo.
• No, because it only works cleanly if your application model is designed around immutable (persistent) structures. That’s a foundational architectural choice, usually invasive, not just a feature you add at the end.
 
Philippe
Reply all
Reply to author
Forward
0 new messages