Closed bronze1man closed 2 years ago
I think different from json is not a goal for toml.
Sorry but I think you're projecting what you want from TOML onto what you think the language sets out to do. From the TOML spec:
TOML aims to be a minimal configuration file format that's easy to read due to obvious semantics.
The 'obvious semantics' part here is key; TOML uses =
for key-value assignments in regular tables, so it stands to reason it should do that for inline tables, too. Using (or additionally supporting) a different character just because it's inside a pair of {}
seems to be anything but obvious, if you aren't coming in with preconceptions based on an (entirely different) language.
The 'obvious semantics' part here is key
It looks like we have different options about "obvious". That is ok. I just need another config language to fit my 'obvious semantics'. May be hjson or json5.
I just write something like this when i write a toml file:
Maybe I write too much golang or js? I think different from json is not a goal for toml.