upvote
Type errors help maintain consistency when the LLM doesn't look at all the files. They're useful input for LLMs.

Declared input and output types also make code easier to read when you do look at code yourself.

reply
I disagree with OP overall but they are highlighting these two languages because they partially verify the correctness of a program statically. They don't catch every issue, but they prevent many issues and their structure guides the programmer's thinking.
reply