Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Nowadays I prefer to use a database table to store values. I guess SQL could be considered as a kind of DSL.

For user configurable options this is great, for system configuration it's awful. If you copy your production database you may end up reading/writing to places you shouldn't be. It also sucks if you use a shared development database (which is awful too, but unrelated).



With SQLite it works as a decent alternative to config files for many kinds of applications.


That's way more complexity for very little gain. Text files are simple and Universal.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: