4 ms·
I've been using TOML recently and what displeases me most is that almost all string values need to be quoted.
by mikepurvis 6y ago
I've been using TOML recently and what displeases me most is that almost all string values need to be quoted.
- dnautics 6y agoArray of objects is terrible in TOML. I grudgingly use it only because it's categorically better than YAML IMO and INI isn't powerful enough.
- mikepurvis 6y agoAt least in YAML you only have to quote a string if it contains a colon-space and can therefore be inferred to be a dict. In TOML all strings are quoted: https://github.com/toml-lang/toml/issues/105#issuecomment-14054665 https://github.com/toml-lang/toml/issues/105#issuecomment-14...
- afiori 6y agostring quotation is a very interesting topic, one variation I would like in a config file is a single backtick that continues up to the first line break
- megous 6y agoOtoh, I got plenty of support requests from people not understanding that the space at the end of a line in an .ini file is part of the value. (app is using glib ini parser) Quoting at least makes it clear what's part of the value.