this post was submitted on 08 Sep 2025
713 points (96.8% liked)
Programmer Humor
26220 readers
1689 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Nah it should be $HOME, not everyone's home directory is in the default location.
~
Nah you should use xdg dirs, it's 2025.
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.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/
.