(no title)
gylterud | 6 months ago
The expressive type system catches a lot of mistakes, and the fact that they are compile errors which can be fed right into the LLM again means that incorrect code is caught early.
The second is property based testing. With it I have had the LLM generate amazingly efficient, correct code, by iteratively making it more and more efficient – running quickcheck on each pass. The LLM is not super good at writing the tests, but if you add some yourself, you quickly root out any mistakes in the generated code.
akoboldfrying|6 months ago
gylterud|6 months ago
This might not be impossible to achieve in other languages, but I haven’t seen it used as prevailently in other languages.