Re:XML is better than YAML
by emodendroket on Thursday September 21, 2023 @12:41AM
(#37593285)
YAML gets cleaners diffs when you edit it.
[ Parent
| on HN ]
That's more of a problem with diff tools, though, which like almost all tooling and even programming languages, make the mistake of treating code as plain text.
Re:XML is better than YAML
by emodendroket on Thursday September 21, 2023 @01:09PM
(#37600664)
OK, well, if you want to invent a new VC tool that can parse arbitrary languages into a syntax tree and make a useful diff and then convince everyone to use it instead of git then maybe I’ll stop using YAML.
Re:XML is better than YAML
by MenhirMike on Thursday September 21, 2023 @06:36PM
(#37605408)
Semantic Diff tools already exist. Haven't looked at ones that specifically support YAML, but e.g., graphtage claims to do so.