What would you prefer as a structured data format which isn't entirely awful for humans to interact with? The condition I place on it is that as a human I'm not made sad. json, xml, toml, all make me sad. (YAML makes me _less_ sad, but not happy).
1
If humans don't need to touch it, then I'm relatively agnostic, just for the love of god stop trying to have machines generate YAML for machines to use!
For humans, I'd prefer something simple, no gotchas, readable and writable. Maybe easy to generate.
HCL mostly fits into that.
1
YAML is certainly not an information interchange language, I agree. JSON fits the bill quite nicely for that IMO.
I've never seen HCL before (assuming you mean 'Hashicorp Configuration Language') so I'll take a look at it.
2
Yes, JSON is an *interchange* format, not a language for humans.
Jan 1, 2021 Β· 11:06 AM UTC

