|
|
|
|
|
by eternityforest
1494 days ago
|
|
My unpopular opinion is that there are a lot of times a database should not be used, and the rest of the time, a standalone database is still a bad idea if you don't need it. Text can be versioned. And databases invariably need either manual admin or a docker container or something. Many apps could totally be easy, instant app store type things, but they depend on some extra daemon. More things to misconfigure. DBs are usually secured by passwords. Now I need a strong password... on a completely local system, instead of just some file permissions? SQlite is absolutely wonderful. Possibly one if the best libraries ever made. But text is perfect for configuration. Apps don't need to do queries against config. They don't frequently make small updates of the type one usually wants a DB for(Unless they are horribly written and rewrite megabytes files every minute even with no changes like browsers do or used to do). Config isn't high performance, storage space isn't critical, but you do often want to version. |
|