| > would you rather review LLM-written assembly or LLM-written Haskell? I wish we had a language that was targeted specifically for LLMs to write and humans and LLMs to inspect: - Simple robust syntax - One obvious way to do things - Static type checking - Purely functional encouraged, escape hatches for performance - Inspect-able, testable, and reviewable in small pieces - Something like formal predicates, preconditions, post-conditions, assertions, or effects typing Giving LLMs all the surface area of Python, JavaScript, TypeScript, or C++ seems like a huge mistake. It's amazing it works as well as it does. Well written Haskell is beautiful, but there are way too many ways to write Haskell: https://people.willamette.edu/~fruehr/haskell/evolution.html |
> - Inspect-able, testable, and reviewable in small pieces
This is more a property of the architecture than a property of the language, although some programming languages support it better than others.