9 ms·
I really like the way the author writes. The article is great, and so are a few other links. Particularly enjoyed this[0] on the same site - The Norway Proble
by martypitt 3y ago
I really like the way the author writes.
The article is great, and so are a few other links. Particularly enjoyed this[0] on the same site - The Norway Problem, which discusses parsing challenges in YAML.
[0] https://hitchdev.com/strictyaml/why/implicit-typing-removed/ https://hitchdev.com/strictyaml/why/implicit-typing-removed/
- WirelessGigabit 3y agoThe Norway problem is an example of trying to fix a problem that was never there. If we kept strings double quoted as they were forever it wouldn't have been a problem. That's the easiest way. * TRUE / True / true & FALSE / False / false = parse as boolean * "something quoted" = parse as string * ... Same stuff happened with the first version of Angular. For some reason they parsed "no" as false, even though JavaScript coerces it to true.