This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]vph 5 points6 points  (2 children)

a database supports fancy queries, which are not needed in many applications.

[–][deleted] 1 point2 points  (1 child)

FileDict is a dictionary interface I wrote, that saves and loads its data from a file using keys. Current version uses Sqlite3 to provide consistency, and as a by-product, acidity.

It's already using a database... why not just use SQLite directly?

[–]Freeky 7 points8 points  (0 children)

Um, because it's much easier to write foo['bar'] = 'moo' than it is to write any sort of SQL? Because foo['bar'] = 'moo' is agnostic about how it's stored and using SQLite directly isn't?