4 ms·
SQLite already has logic for this built in: transactions (https://www.sqlite.org/lang_transaction.html https://www.sqlite.org/lang_transaction.html) More broad
by okennedy 6y ago
SQLite already has logic for this built in: transactions (https://www.sqlite.org/lang_transaction.html https://www.sqlite.org/lang_transaction.html)
More broadly though, tech seems to be migrating away from explicit saves in general (e.g., when's the last time you needed to save something in a web-app). Maybe that's not such a bad thing? I learned to develop a reflexive cmd-/ctrl-s twitch as a youth, but I would have been just as happy to have not lost hours of work to power outages and/or cooperative multitasking.
- ReactiveJelly 6y agoI hope some day auto-save and VCS converge to result in some kind of continuous undo system. Right now the only reason I leave a file unsaved is to act as an extra layer of ad-hoc version control, and it's not that good.
- iggldiggl 6y agoOTOH, when I open some document as a reference document, I most certainly don't want any changes I accidentally (or even purposely) might have made to it to be saved without any further questions.