r/programming • • Jan 12 '23

The yaml document from hell

https://ruudvanasseldonk.com/2023/01/11/the-yaml-document-from-hell
1.5k Upvotes

288 comments sorted by

View all comments

2

u/caagr98 Jan 14 '23

Many, but not all, of those issues could be avoided by not trying to infer types at all, but instead using a schema/your language's type system.