by noirscape · 2y ago · 0 comments
Is this really true? Basically every project I've ever cloned or set up that relied on YAML still uses .yml as the extension.
Because it's what the documentation says. For instance, the "Getting Started" example at https://docs.flatpak.org/en/latest/first-build.html says "call it org.flatpak.Hello.yml" - and that's Flatpak, which has always been a Unix-specific thing.
Probably for the same reason people don't type other 4-letter extensions, like `.ruby` or `.rust`.
I guess `.java` is the exception (no pun intended).
(That's the 'A', in YAML, literally.)
Thought it supports both equally.
.yml feels like .htm to me. DOS is long since gone.
But, Github seems to think they're about the same, with a lead for .yml: 23.9M hits for .yml, 17.8M for .yaml.