←back to thread

365 points tanelpoder | 4 comments | | HN request time: 0.019s | source
Show context
IshKebab ◴[] No.44978604[source]
This is obviously a great move. I don't know why so many commenters here are against making things better. "Can't you just do <this slightly worse thing> already?". Well yes. But it's slightly worse.
replies(3): >>44978702 #>>44979899 #>>44986544 #
wasabi991011 ◴[] No.44979899[source]
I don't think being one word longer ("uvx ruff format" vs "uv format") counts as being is worse.

I think it is much worse to create a special case that obscures the actual formatter being run and how it is being run (is ruff now preinstalled, or is it downloaded and cached in the same way as other tools?)

replies(2): >>44980423 #>>44986882 #
Feuilles_Mortes ◴[] No.44980423[source]
But you have to know about ruff. I didn't, but I did know about uv.
replies(2): >>44981604 #>>44984427 #
1. zelphirkalt ◴[] No.44984427[source]
Well, it is arguably worse to run an unknown, not version pinned, unconfigured formatter over your code and expect it to improve things, unless the code is an utter catastrophe in terms of formatting.
replies(1): >>44986899 #
2. wiseowise ◴[] No.44986899[source]
It is completely irrelevant.

You’re offloading responsibility to uv devs in this case.

replies(1): >>44986942 #
3. zelphirkalt ◴[] No.44986942[source]
_You_ may find it irrelevant, but speak for yourself. I don't want dependencies, that are not version-pinned and checksummed running over my code. It is certainly not irrelevant to me.
replies(1): >>44987155 #
4. wiseowise ◴[] No.44987155{3}[source]
That’s for uv for decide. If you don’t like what it does - don’t use uv.