upvote
I feel like it's the other way round; we see a lot of success with go(lang), so perhaps the language should be as simple as possible to avoid over-expressiveness so that us mere humans can still review the code. That would rule out languages where there are too many ways to get something done (perl, c, maybe even lisp since I can only handle so many brackets)?
reply
Hmm, although I'll admit in advance I hadn't imagined how it might look, I don't think we're disagreeing. It's why I included the "ish" part on legible and said "expressive enough".
reply
I would definitely go for languages with strict type systems, where I can inspect the type system for proof of correctness instead of concerning myself with reviewing implementation at all.

Frankly, I see it like Lean now If the proof works via confirmed problem space and axioms, I don't need to know how they got there. I physically cannot review the middle layer at the pace it can be generated by myself, let alone a whole team.

So Go, a language that has almost no ability to encode domain correctness in the type system, is right out.

reply
> It makes me wonder what gains we could experience by producing an LLM optimized general-purpose programming language.

We could gain even more slop that we have even less hope of successfully reviewing.

reply
Maximum contextual value? Java. It’s always Java. Way better than Rust.
reply
The trick around that limitation is scope reduction, which is a good practice anyway.
reply