I suspect code hallucinated by AI tend to also be more difficult to fix. If the developers can’t understand the code, then it’s likely the AI itself won’t ”understand” it either.
As a senior software developer. You are correct. If at code reviews I suspect that the developer generated the code and would not know what it does, I ask them what the code does. If they can’t explain it, they won’t be able to maintain it.
I suspect code hallucinated by AI tend to also be more difficult to fix. If the developers can’t understand the code, then it’s likely the AI itself won’t ”understand” it either.
Another crisis in software will come.
As a senior software developer. You are correct. If at code reviews I suspect that the developer generated the code and would not know what it does, I ask them what the code does. If they can’t explain it, they won’t be able to maintain it.