News for hackers. Stuff that matters.
Re:DRAKON – An algorithmic visual programming language by bokchoi on Friday August 21, 2015 @10:56PM (#10101339)
Using SQLite for persistence is quite interesting!

http://drakon-editor.sourceforge.net/instant_save.html

Re:DRAKON – An algorithmic visual programming language by vog on Saturday August 22, 2015 @04:27AM (#10101921)
I fully agree with their strategy of persistent saving incremental steps.

However, the article misses one vital point: Undo!

Persistent saving without undo is a no-go. If I try something and the program (or OS) crashes, my previous state would be lost. It would be a state worse than not having saved the changes at all.

In particular, I find it troubling that they describe their SQLite actions as "insert", "update", "delete". I would have expected this to be insert-only, to preserve undo functionality after a crash. Then, from time to time some "delete" for garbage collection (maybe triggered by the user).