News for hackers. Stuff that matters.
Re:RFC 9512: YAML Media Type by meowface on Wednesday February 21, 2024 @10:39AM (#39455125)
StrictYAML provides a subset of YAML without the annoying footguns: https://hitchdev.com/strictyaml/features-removed/
Re:RFC 9512: YAML Media Type by Quekid5 on Wednesday February 21, 2024 @10:49AM (#39455255)
Oh, how I wish we could get an RFC for that instead.
Re:RFC 9512: YAML Media Type by clcaev on Wednesday February 21, 2024 @11:24AM (#39455804)
indeed, would be a good idea
Re:RFC 9512: YAML Media Type by aidenn0 on Wednesday February 21, 2024 @02:46PM (#39458551)
YAML 1.2 addresses several of those:

- Duplicate keys are not allowed

- The fallback schema gives you no Implicit Typing and Direct representations of objects for free (the former explicity, the latter by restricting which tags are allowed). Schemata in general allow for doing the "right thing" for your domain more easily.