3 ms·
It is the least bad configuration format I have found. Granted I have only ever used it for fairly simple projects. But every config format is plagued with issu
by NoboruWataya 3y ago
It is the least bad configuration format I have found. Granted I have only ever used it for fairly simple projects. But every config format is plagued with issues. A bit like programming languages, the fundamental problem is that they need to be easily understandable by both humans and computers which is an impossible problem to truly solve for any non-trivial use case. For example, TOML is criticised for verbosity but a lot of the abstractions that are used to implement DRY in a programming context may make the configuration confusing and unintuitive for non-programmers.
- AndyKluger 3y agoHave you looked at NestedText?
- IshKebab 3y agoJsonnet or JSON5 are much better than TOML or YAML. Both are much easier to read, and don't have the footguns of YAML or StrictYAML. I would generally say JSON5 is more appropriate because it is simpler, but Jsonnet does have some neat features and its IDE support is much better.
- hot_gril 3y agoAt least general programming languages like Python or JS are well-understood by many programmers. More than makes up for not being as specialized as a DSL.