News for hackers. Stuff that matters.
Re:That's a Lot of YAML by Xiol32 on Friday April 11, 2025 @04:15PM (#43658047)
TOML is worse and even harder to read. I'd take YAML any day over TOML.
Re:That's a Lot of YAML by bloppe on Saturday April 12, 2025 @10:12AM (#43664550)
Yaml is a sad Icarus parable. The syntax is great but the type inference is too much. I don't see why we have to throw the baby out with the bathwater and settle for toml, though.

Here's how yaml's type inference should work:

- All object keys are strings (with or without quotes)

- Value atoms are parsed the exact same way as in JSON5

I'm kinda shocked this isn't a thing. StrictYAML is cool but a bit too cumbersome IMO.