4 ms·
I'm with you when it comes to structured data, but plz no more data bases. these config files do not need to be centralized. I am thinking more in the direction
by verinus 10y ago
I'm with you when it comes to structured data, but plz no more data bases. these config files do not need to be centralized. I am thinking more in the direction of a parser that could check the validity of a configuration...
- riskneural 10y agoSo, horribly unreadable xml config files?
- nailer 10y agoCSON or .desktop / .service or something similar is immediately understandable to most people and doesn't waste time with unnecessary tokens like XML does.
- TeMPOraL 10y agoLike S-expressions don't exist. Or even goddamn JSON. Come on, we don't have to jump from one stupidity (unstructured text) to another (using XML as a data representation format).
- stevedonovan 10y agoNot necessarily. JSON is not bad, _if_ you allow comments. Even plain-jane key/value config files can be sanity-checked. I suspect part of the problem is that anything fancy like that is awkward to do in C, so people take the lazy way out.
- karl42 10y agoMaybe many tiny sqlite databases? Then you would not need to to centralize your data in a single database, but still do queries across different config files.
- TeMPOraL 10y agoSQLite is a huge win. All the power of SQL, and you don't have to introduce system-wide and non-local dependencies.
- flukus 10y agoHow is this a win? Instead of opening a text file we have to write update statements to change any setting. Sql is itself a verbose language that should have been discarded in the 80's.