4 ms·
As a developer based in Norway, one fairly major drawback to YAML is the way that it processes the language code for Norwegian ("no").
by fergie 2y ago
As a developer based in Norway, one fairly major drawback to YAML is the way that it processes the language code for Norwegian ("no").
- marcusramberg 2y agoThat particular pain was fixed in yaml 1.2 :)
- withinboredom 2y agoTIL I learned that yaml has versions and now I'm wondering what version of yaml parsers are running where. I think I might be on a new level of hell. It would be better to delete your comment so nobody else has to has to ever have this crisis.
- LeonM 2y agoThe Norwegian ISO3166 code colliding with the English word 'no' is not a YAML problem per se, I've been bitten by that a few times in other situations as well. For example: Stripe uses constants for types of tax registration numbers (VAT/GST/TIN, etc.). So there is EU_VAT for European VAT numbers, US_TIN for US tax identification numbers, etc. But what value to use for tax-exempt organisations that don't have a tax number? Well... guess how I found out about NO_VAT... On the bright side, I did learn that way that although Norway is in the Schengen zone, apparently they are not part of the EU (hence the separation of EU_VAT and NO_VAT). I guess the 'no' name collision has taught many developers something about Norway :-)