logoalt Hacker News

xarope • today at 2:14 AM • 2 replies • view on HN

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)?


Replies

CSSer • today at 2:16 AM

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".

Tadpole9181 • today at 3:14 AM

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.