2 ms·
We have some custom tools at my office that don't provide warnings or undo. It would be nice if they at least provided a warning when you hit delete with multip
by Jtsummers 4y ago
We have some custom tools at my office that don't provide warnings or undo. It would be nice if they at least provided a warning when you hit delete with multiple items selected. When I asked the senior dev on the system about it he said, "Undo? Why would we have that?" (or words to that effect) "Just save more often and when you delete something you didn't mean to, close it and reopen it" (that part is near verbatim).
Undo systems can be annoying to create after the fact, but if you use a variation on the command pattern you can often get them "for free" (along with a lot of other useful capabilities). I wish that were more common.
- kazinator 4y ago> "Just save more often" What a Dilbert! "Okay, provide rotating backups, at least!" I would have said. Saving is also a destructive operation that can lose data, which brings us back to undo. If you open a document, make an unwanted edit and save, and you have no undo, you can only recover the prior state from the editor backup. Without automated multiple backups, the user would have to do "save as" regularly, choosing different filenames, rather than just "save". Multiple backups are easier to
- Jtsummers 4y agoWork harder, not smarter. -- Unofficial motto of many offices.