Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deliver a fatal blow to YAML #4

Merged
merged 1 commit into from
Jan 30, 2019
Merged

Conversation

colmmacc
Copy link
Contributor

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.

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.
Copy link
Owner

@ghuntley ghuntley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hell yes.

@ghuntley ghuntley merged commit 90e9680 into ghuntley:master Jan 30, 2019
@ghuntley
Copy link
Owner

Thank-you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants