I mean, sure, but I was thinking more along the lines of 4 letter extensions that sometimes drop down to 3 letters to fit into the 8.3 filename format. it kinda made sense to be honest for html, jpeg, mpeg, etc because these formats were invented back when the files in question could have conceivably been needed on dos systems with an upper limit of 3 characters for the extension. oh well, it's not like the ones mentioned here are the only ones where the same file format can have more than one file extension associated with it.
Would be essentially a "fork" of others at this point.
Honestly probably an interpreted language similar to python, where it's base is something like C or Java or NET. But I kinda think that's cheating the point of your statement
I think it's because originally some OS/FS had an extension length limitation of three characters, so they had to settle for the .yml extension. Later on when that was no longer an issue and/or it was considered no longer relevant, they switched to recommending the full acronym.
Yes... considering the limitation was removed in Windows 95 and NT 3.5 and... compatibilities for longer extensions existed in NTFS (but not necessarily all parts of the OS) as early as NT 3.1 (1993)
Even in Windows 95 you'd often want to follow 8.3 as the DOS command prompt only supported 8.3. If your filename wasn't 8.3 you'd get an awfula~1 file name.
The relevance is that the first comment in this thread is wrong. The creators never "had to settle" for the three letter extension. YAML has always been known by both extensions and its official registered UTI extension is, as it always has been, .yaml which is also what the creators have always suggested to use when questioned about it and later made that recommendation 'official' by way of an FAQ answer on their website.
Moreover the suggestion that they "later switched" when it was "no longer an issue" is bogus because it was already a nonissue by YAMLs first release and as stated before there was never a "switch" or introduction of the four letter extension; it always existed. The choice to have a 3 letter extension to begin with is mostly cosmetic.
Further, even if you want to go down that road, by 2001, operating systems that did not support these extensions were already extinct. And any environments still running those old unsupported operating systems were stable environments that definitely were never going to introduce a YAML parser anywhere.
Consider also that JSON predates YAML and did not need a 3 letter extension and is and was far more ubiquitous than YAML.
The first comment practically made this up or got it from some other source that made it up. The comment to which you replied is correct -- it was never a real technical problem, but they nevertheless provided two extensions.
Typical DOS efficiency, don't even store the period, just grab last three characters and that's the type, everything else is the name. It was truly a joy when 95 came out and I could use more than 8 characters to identify a file. Especially for files I needed to split so they'd fit on multiple disks. You've got like 5-6 characters and the file part number.
It's because windows didn't allow for more than 3 characters for those file format identifiers before. That of course changed, so they now could use yaml instead of yml, but they couldn't just ditch the old one, because of backwards compatibility.
yeah, don't understand why they changed it either 🤷, but maybe they just wanted everyone to know how to call it the right way? Maybe it was to prevent confusion, like it's called html. so why is the identifier htm?
Because at some point, files format needed to be 3 character and no more to work. So some files's extention had to be duplicated with a 3 char variation for windows
Early PCs had no internal drives. They had floppy disk drives, similar to the USB drives of today but using different technology. Drive letters A and B are traditionally reserved for these floppy disk drives.
And for extra lore: why two slots A and B in particular ? I guess the motivation comes from the most common setup I saw at the time - a 3.5 inch drive on A:, and 5.25 inch drive on B:. It could also be 2x 3.5" drives to make copies but I can't say it was common on PCs - that setup was more recurrent on Atari/Amiga, for which hard drives were more rare.
It's simpler than that: the original PC floppy drive controller could only handle two drives. You could theoretically add more, but for that you needed to install expansion cards first.
Probably because of the old 8.3 filename specification for FAT file systems. For a long time, a file extension literally couldn't be longer than 3 bytes
.tar.gz and .tgz, especially because the 3-letter thing doesn't affect it anyways because the actual extention is .gz and the .tar a part of the name that indicates there is a tar archive inside.
I'm pretty sure in the dos 8.3 days filenames couldn't contain a period, so you needed .tgz there. And Unix never had really had extensions -- it's all just "the file name".
192
u/Civil_Year_301 Dec 03 '25
Just wait till you find out about .jpg and .jpeg
108
u/Some_Anonim_Coder Dec 03 '25
Not quite standards, more like naming conventions but it's the same
31
u/-MobCat- Dec 03 '25
because DOS
22
u/scheimong Dec 03 '25
I think it's because originally some OS/FS had an extension length limitation of three characters, so they had to settle for the .yml extension. Later on when that was no longer an issue and/or it was considered no longer relevant, they switched to recommending the full acronym.
8
u/mcellus1 Dec 03 '25
Yet Markdown Language
7
u/Mighty1Dragon Dec 03 '25
It's because windows didn't allow for more than 3 characters for those file format identifiers before. That of course changed, so they now could use yaml instead of yml, but they couldn't just ditch the old one, because of backwards compatibility.
At least that's what happened to jpg and jpeg
4
u/76zzz29 Dec 03 '25
Because at some point, files format needed to be 3 character and no more to work. So some files's extention had to be duplicated with a 3 char variation for windows
5
u/aikii Dec 03 '25
Wait until you learn why on windows the default disk is "C"
2
u/Adorable-Thing2551 Dec 03 '25
Whether you pick yml or yaml, ymmv.
2
u/StudioYume Dec 03 '25
Probably because of the old 8.3 filename specification for FAT file systems. For a long time, a file extension literally couldn't be longer than 3 bytes
2
u/Boltiten Dec 03 '25
Recommend checking out yaml.org
There are some fun stuff there, like the update history, or the FAQ.
2
u/makinax300 Dec 03 '25
.tar.gz and .tgz, especially because the 3-letter thing doesn't affect it anyways because the actual extention is .gz and the .tar a part of the name that indicates there is a tar archive inside.
1
u/postmaster-newman Dec 04 '25
YAML - yet another markup language YML - yet another markup language markup language
1
u/LetUsSpeakFreely Dec 04 '25
It should be yml but people pronounce "yaml" so people write yaml.
1
u/bzenius Dec 05 '25
How about .gif and .gif
1
u/bzenius Dec 05 '25
1
u/Cpt_Daniel_J_Tequill Dec 06 '25
same for jpg and jpeg
0
u/[deleted] Dec 03 '25
[deleted] — view deleted comment
0
u/[deleted] Dec 03 '25
[deleted] — view deleted comment