What's your favorite configuration file format?
What's your favorite configuration file format?
Yml
ASCII text
shell scripts
user. What does this even mean?
.conf
json
.ini and .xml
.com
.git
XML master race. Everyone else is nigger tier
json where you can omit quotes and colons. xml comes second.
my man
What a classy dress. I honestly feel like I should be fapping to more classy shit like this instead of anime porn or 3dpd porn. I may as well start now.
Anyways, .sh and .xml
.ini
json5, but that's never becoming mainstream.
ini's look ok. yaml is just the most fucking retarded syntax ever. tries way too hard to be "human friendly" without actually being human friendly.
>yaml
it's clean when your config is shorter than 50 lines but more painful the longer it gets
I prefer my software to use a variety of databases, binary XML files, and obfuscated and undocumented text files squirreled away in at least a half dozen directories.
Catch the wave of the future.
.h
> implying pottering came up with that
What is gsettings, what is gconf, what is dconf,
Probably JSON.
YAML is just hell to edit manually and XML is redundant garbage.
config files are by definition bloatware, any configurations should be made directly to the source code and recompiled
widows registry
He may not have invented the idea but he took it to a fever pitch.
sounds like a hot dating site
TSV
pretty much
>find config loader and parser classes
>delete
TOML for human-oriented configuration files.
How would cron work?
...
Flags
The config file is a bunch of C macros and you recompile cron every time you change the config file.
Makes sense. I like it.
How does Firefox's about:config work? Sqlite?
YAML
If it's a Python program, Python itself is the best config file format.
several sqlite databases. see ~/.mozilla/firefox/
>sqlite
>prefs.js
No file, keeped on process that uses WHATEVER.
It may be server, actually if you got two computers and transfer config data from one machine to anotther when one is restarted you can make config as pure data with being handled as file only as caching system, and you have no file handling at all...
So you keep your configs in redis. Isn't that what Zookeeper does?
.html