Live data from Hacker News

Why are there both TMP and TEMP environment variables? (2015)

devblogs.microsoft.com

101–102 of 102 posts

Re: Why are there both TMP and TEMP environment variables? (2015)

#101
post #32

A great example of a decision that likely received little to no thought from an early developer but that has long legs and will stick around forever.

There's nothing more permanent than a TMPorary decision.

I love that!

Re: Why are there both TMP and TEMP environment variables? (2015)

#102
post #12

Earlier quoted context omitted.

Yea this is something I'd love to see standardised, a distro that was able to enforce a .config folder somehow would be a winner for me. Think weve probably missed the boat though.

As these things go, there obviously is a standard for this called the XDG Base Directory Specification[0], which elegantly solves almost all configuration path needs—and has been ignored, violated, or only partially implemented, since forever. [0]: https://specifications.freedesktop.org/basedir/latest/

The problems this standard solves are not hard, and "elegant" is not how I'd describe the solution.
Post reply on HN