Elektrine lite

← Feed

@ole@chaos.social

2026-09-16 08:56 UTC

Very nerdy article about YAML by @pjb, well worth reading if you work with YAML. I love the history deep dive about YAML’s implicit typing rules and how early they were removed (in 2002, way before the spec hit 1.0). https://sharkey.slugcat.systems/notes/aqzbrmwqrr1l0007 And good advice: if your program ingests loosely structured data such as YAML, your code should deserialize it through a strongly typed schema (e.g. using Codable in Swift). This automatically avoids YAML’s “Norway problem”.

Replies (0)

No replies.