ghuntley / noyaml

A silly emotional rant about the state of devops tooling/the infrastructure sector in 2018. #noyaml.com
https://noyaml.com
GNU Affero General Public License v3.0
433 stars 29 forks source link

Deliver a fatal blow to YAML #4

Closed colmmacc closed 5 years ago

colmmacc commented 5 years ago

YAML's biggest flaw is that it simply isn't a safe file format. A YAML file can be truncated virtually arbitrarily ... and remain a valid YAML file. This causes semantic corruption and missing elements in scenarios as routine as a partial file transfer, a nearly full filesystem, or an editor crash. JSON, XML, everything short of dumb .ini files, has terminators and so avoids this problem.

ghuntley commented 5 years ago

Thank-you!