▲ | gompertz 4 hours ago | ||||||||||||||||||||||
Curious, has it been proven that typed languages are easier for LLMs to work with as they dont have to infer types? | |||||||||||||||||||||||
▲ | treve 4 hours ago | parent | next [-] | ||||||||||||||||||||||
Do they infer anything? Correct me if I'm wrong but having the types right there in the source for training data just means more context. | |||||||||||||||||||||||
▲ | benreesman 4 hours ago | parent | prev [-] | ||||||||||||||||||||||
I'm not aware of any rigorous study on it, but my personal anecdote is that I don't even bother with Claude Code or similar unless the language is Haskell, the deployment is Nix, the config is Dhall, and I did property tests. Once you set it up like that you just pour money in until its too much money or its stuck, and thats how far LLMs can go now. I used to yell at Claude Code when it tried to con me with mocks to get the TODO scratched off, now I laugh at the little bastard when it tries to pull a fast one on -Werror. Nice try Claude Code, but around here we come to work or we call in sick, so what's it going to be? | |||||||||||||||||||||||
|