Not xml
I’d say a file that you can open with a simple text editor is convenient, so it can be a simple .conf/.ini, more complex are .xml/.yaml that you can still edit in vim/nano but can be cumbersome.
But as others say, it all depends on your app…
I really dislike when indentation is a part of the syntax (like in YAML). Apart from that it depends on the requirements of the project.
There is no best. It depends on the application
Definitely not yaml. It’s spec is horrible.
Toml is pretty nice though.
I hate table definitions in TOML with a passion.
I like YAML. I guess that’s because I don’t need to build parsers for it. What’s your worst complain about it?
Very educational.
nix
This post was sponsored by NixOS gang
(jokes aside, json is king. Yaml is a pain in the ass)