Just read a clickbait article named “Python is dead.” The idea was that it makes no sense to use an interpreted language without static types with AI, since those systems work better with clear constraints.
I agree that letting AI write Python or JavaScript without any guardrails is a recipe for disaster. Nowadays I always use mypy with strict rules so I can enforce correctness in generated code. It’s too risky to vibe code without them.
I also use a regex lint in my projects to avoid AI writing anti-patterns. Things that are not wrong on their own, but do not match the project convention. Tied to pre-commit, this forces the agent to correct itself before pushing code.