Re:A case for Go as the best language for AI agents
by wakawaka28 on Monday March 02, 2026 @06:36PM
(#47225855)
It isn't documentation. It is example code, in the best case. That shit belongs in other files, not in the main file. There is also a reason why literate programming never took off in general. Good luck getting anything done when 80% (conservatively) of the stuff you have to scroll through contributes nothing to the actual execution of the program and might actually be giving you false impressions of how things need to be done.
[ Parent
| on HN ]
Re:A case for Go as the best language for AI agents
by g947o on Tuesday March 03, 2026 @06:47AM
(#47231052)
I have yet to see a single Rust file where the test comes before source and takes 80% of the file content.
Re:A case for Go as the best language for AI agents
by wakawaka28 on Tuesday March 03, 2026 @09:25AM
(#47232822)
Probably because all the tests are trivial, and people have the bias to not add all the testing that is needed inline with the code.