←back to thread

365 points tanelpoder | 3 comments | | HN request time: 0s | 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. wasabi991011 ◴[] No.44981604[source]
Not really. If you know about uv, you know how to use "uv tool run", so you know how to use any formatter of your choice (which you can find easily on Google, arguably easier than reading the documentation and learning about uv format).
replies(2): >>44982641 #>>44982877 #
2. IshKebab ◴[] No.44982641[source]
He said "you have to know about ruff". You're not really refuting that by saying "no you don't, you can just google it".
3. jamienicol ◴[] No.44982877[source]
But I don’t know what the formatter of choice is. Nor do I care what it is. I just want to format my code