Warning: Some posts on this platform may contain adult material intended for mature audiences only. Viewer discretion is advised. By clicking ‘Continue’, you confirm that you are 18 years or older and consent to viewing explicit content.
It depends what you need your configuration file to be:
Need a well defined easy to understand concrete configuration file?
Use .toml. It was made to be both human and computer friendly while taking special attention to avoid the pitfalls commonly found in other configuration files by explicitly stating expected types around commonly confused areas.
Need a simple to implement configuration file?
Use .json. It’s famous for being so simple it’s creator “discoverer” could define it on a business card.
Need an abstract configuration file for more complicated setups?
Use .ncl. Nickle allows you to define functions so that you can generate/compute the correct configuration by changing a few variables/flags.
It depends what you need your configuration file to be:
Need a well defined easy to understand concrete configuration file?
.toml
. It was made to be both human and computer friendly while taking special attention to avoid the pitfalls commonly found in other configuration files by explicitly stating expected types around commonly confused areas.Need a simple to implement configuration file?
.json
. It’s famous for being so simple it’screator“discoverer” could define it on a business card.Need an abstract configuration file for more complicated setups?
.ncl
. Nickle allows you to define functions so that you can generate/compute the correct configuration by changing a few variables/flags.