News for hackers. Stuff that matters.
Re:I accidentally used YAML.parse instead of JSON.parse and ... by zarzavat on Monday January 24, 2022 @12:17AM (#30053976)
I see the point and this is certainly a drawback of TOML but for me this is something of a boundary case between configuration and data.

When configuration gets so complicated that the configuration starts to resemble structured data I tend to prefer to switch to a real scripting language and generate JSON instead.

Re:I accidentally used YAML.parse instead of JSON.parse and ... by CameronNemo on Monday January 24, 2022 @12:37AM (#30054068)
Expression languages like Nix, Jsonnet, Dhall, and Cue are really nice in these situations.