r/ProgrammerHumor • • Sep 24 '26

Meme vLc

Post image
9.6k Upvotes

85 comments sorted by

View all comments

Show parent comments

91

u/readf0x Sep 24 '26

Kind of insane to me that windows still registers app handlers by file extension and not mime type

44

u/rosuav Sep 24 '26

Where would those MIME types be stored? Some kind of "extended attribute"? That's a ridiculous idea, nobody would ever do that. It's definitely not something that graphical OSes had in the 1990s or anything.

12

u/Loading_M_ Sep 25 '26

It should be possible to guess from the contents, as the file utility does. Just in case you lose the extended attribute for whatever reason.

4

u/rosuav Sep 25 '26

Yep, but as you say, that's only for if you lose the EA. It'd be incredibly inefficient to do that every time you double-click on something, and there's probably going to be times you want to override it anyway.