Agree 100%. Almost everything I have written with AI is in Go, and strong typing is really really nice (as is go vet and golangci-lint to keep the generated code in line).

I imagine writing plain js or python with it would be much much riskier.

Well annotated code is fine in Python too.