YAML: The Norway Problem (2022)
Link: https://www.bram.us/2022/01/11/yaml-the-norway-problem/
Discussion: https://news.ycombinator.com/item?id=43668290

YAML: The Norway Problem
Earlier this week, Haroen Viaene posted this tweet about YAML: worst part of yaml: https://yaml.org/type/bool.html — Haroen Viaene (@haroenv) January 10, 2022 The linked-to page contains the documentation on what defines a boolean in YAML, and details that it can be parsed using this regex: y|Y|yes|Yes|YES|n|N|no|No|NO |true|True|TRUE|false|False|FALSE |on|On|ON|off|Off|OFF The reason to why this is problematic … Continue reading "YAML: The Norway Problem"
www.bram.us · Bram.us
Link author:
Bramus@bramus@front-end.social