Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Say "no" to YAML. As a string, if you can.


You can. YAML 1.2 is only 16 years old. Just old enough to drive. Norway problem has been solved for only 16 years.


YAML 1.2 leaves data types ambiguous, merely making the "Norway problem" optional and at the mercy of the application rather than, in the words of https://yaml.org/type/ (which has not been marked as deprecated), "strongly recommended".


Those schemas aren't part of the core schema, and you may interpret them if you are aiming for full 1.1 compatibility. If you're aiming for 1.1 compatibility, then you accept the Norway problem.

I've been looking in the specs and I can't find the link to the https://yaml.org/type/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: