News for hackers. Stuff that matters.
Re:Go is an ideal language for AI-assisted software engineering by pmarreck on Tuesday August 11, 2026 @02:53PM (#49262830)
what is "Black"? (For hopefully obvious reasons, I couldn't find results with google, lol)
Re:Go is an ideal language for AI-assisted software engineering by mholm on Tuesday August 11, 2026 @02:55PM (#49262858)
Re:Go is an ideal language for AI-assisted software engineering by rsyring on Tuesday August 11, 2026 @03:06PM (#49262978)
But you're probably better off with Ruff these days: https://docs.astral.sh/ruff/

Similar to black but faster, written in Rust, by the same team who created uv.

Re:Go is an ideal language for AI-assisted software engineering by marcus_holmes on Tuesday August 11, 2026 @04:33PM (#49264071)
So... A: not trivial. And B: not part of the language.

> mean this isn't true, formatting is the most trivial part. And so many languages have an opinionated formatter these days (e.g. Black)

I don't think this is correct

Re:Go is an ideal language for AI-assisted software engineering by pmarreck on Wednesday August 12, 2026 @11:19AM (#49273797)

    B: not part of the language.
1) Some would call this a perk.

2) When your tooling around a language works better when it's not actually written in the language... That should tell you something. And yet...

Re:Go is an ideal language for AI-assisted software engineering by frollogaston on Tuesday August 11, 2026 @07:55PM (#49266105)
This back-and-forth is a good example of why Go benefits from having a centralized linter. And uv isn't the official Python package manager even though it should be.
Re:Go is an ideal language for AI-assisted software engineering by maleldil on Tuesday August 11, 2026 @10:57PM (#49267349)
I don't get why this is a big issue. This isn't some recurrent decision to be made. It's something a lead decides once and the project follows. That's it. Many companies have style guides anyway (eg Google[1]); the choice of a formatter is much simpler.

[1] https://google.github.io/styleguide/go/

Re:Go is an ideal language for AI-assisted software engineering by frollogaston on Tuesday August 11, 2026 @10:58PM (#49267354)
Because at some point you have to interact with some other team or project that made a different decision. And whatever you picked might fall out of favor and lose support. There's already a graveyard of Python type linters, including Google's pytype.

Especially the uv thing. You clone some non-uv git repo that has no pyproject.toml and you don't know what to install. Maybe has requirements.txt but it's partially wrong.

Re:Go is an ideal language for AI-assisted software engineering by Dylan16807 on Tuesday August 11, 2026 @04:37PM (#49264129)
What did you search?

If I do the simplest possible thing that isn't a single word, by highlighting "opinionated formatter these days (e.g. Black)" and clicking search, I get the right result. I also get the right result for black formatter, and I get the right result if I yolo the entire comment as my search.

Re:Go is an ideal language for AI-assisted software engineering by pmarreck on Wednesday August 12, 2026 @11:18AM (#49273772)
Ah, it's Python. Python is gross. That explains why I couldn't find it. /shrug