40
What is the best file format for configuration file?
(programming.dev)
This is a most excellent place for technology news and articles.
Assuming you can trust whoever wrote the config file, I prefer if it's executable code.
Not really fussed about what language. The point is it's really handy to have simple logic checks like a basic if statement on an environment variable. I also like being able to split my config files up into multiple files - maybe with an environment variable to check which files will be loaded in.