3 ms·
My vote is yes. Most configuration doesn’t need anything more sophisticated than key-value pairs, perhaps with namespaces. INI can manage that and TOML is basic
by philwelch 7y ago
My vote is yes. Most configuration doesn’t need anything more sophisticated than key-value pairs, perhaps with namespaces. INI can manage that and TOML is basically a better-specified INI.
- hardwaresofton 7y agoI can't tell if I've spent too much time on HN or if I came to this conclusion on my own, but TOML is my language of choice for configuration now. It's flexible in the right ways and sectioning of config is so important.
- h1d 7y agoNo reason to use INI over TOML. INI doesn't even have a standard specification.
- philwelch 7y agoThat’s my point, yeah. INI is the right idea but TOML is the same thing but actually specified so use it.