this post was submitted on 28 Jan 2025
1675 points (99.6% liked)

Programmer Humor

20191 readers
322 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 24 points 1 day ago (4 children)

I am not exactly a programmer. What is the .DS_Store file for?

[–] [email protected] 35 points 1 day ago

Kind of a mac's version of desktop.ini. Remembers layouts and other metadata about a folder.

[–] jwt 36 points 1 day ago (1 children)
[–] [email protected] 4 points 1 day ago

Not for buying new DSiware games?

[–] Kissaki 6 points 1 day ago* (last edited 1 day ago)

I learned of those files outside the context of programming. When program or file zip packages contained these random ds store files and I looked up what they are.

Turns out, it's metadata ~~caching~~ for macOS. Irrelevant and does not belong into [distributed or shared] packages.

/edit: It's been a long time ago. Looking at it again, I guess it adds folder metadata, so it could be useful when distributing to other macOS. But for other OS, it's noise. Either way, usually it's not intentionally included.