I haven't tried it, but Elm might be a really good fit for LLMs, because it forbids taking shortcuts.
It works really great with LLMs, it introduces less bugs compared with other languages