Hacker News new | ask | show | jobs
by worksonmine 82 days ago
Why prefix the settings `UV_CACHE_MAX_SIZE` and `UV_LOCKFILE` with `UV_` if they're new features? Makes no sense.
3 comments

Would be more logical to use FYN_ prefix
They are environment variables. I enjoy seeing from my large number of environment variables to which applications they belong to.
I know what an environment variable is, my question is why name them `UV_` instead of `FYN_`? I thought that would've been obvious for exactly the same reason you mention, it should be named for the application they belong to.
Ah, I completely missed the point of your question :).

Yes, I think that's a good point. Possibly they were made before the project name was changed and no further thought was given to them after.

Facilitates drop-in migration from uv to the new tool. So if uv adopts the feature it's "just there".