this post was submitted on 08 Sep 2025
849 points (96.6% liked)

Programmer Humor

30491 readers
3083 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
[–] rhpp@programming.dev 40 points 6 months ago (2 children)

Nah it should be $HOME, not everyone's home directory is in the default location.

[–] Speiser0@feddit.org 6 points 6 months ago (1 children)
[–] HER0@beehaw.org 3 points 6 months ago (1 children)

Maybe I'm misunderstanding, but as shown in your link, $HOME does not conflict with the XDG Base Directory Specification. It partially relies on $HOME being defined.

[–] Speiser0@feddit.org 2 points 6 months ago

Subdirs of $HOME are used as defaults. So using $HOME alone is not enough. Also, prior to xdg dirs, applications were (many still are) storing their data under $HOME/.myapplication/.