40
What is the best file format for configuration file?
(programming.dev)
This is a most excellent place for technology news and articles.
Agreed about INI for simple stuff. Not good for arrays and nested things though. Usually use binary for that type of config (with clear documentation). Most binary config files I use are plain old C structures. I'm not a web person so no need to make the config plain text.
You could use TOML. It's pretty much an extension of INI
This human would prefer YAML for that, especially if I had to generate/modify said config in Ansible/puppet/whatever.